@@ -17,7 +17,7 @@ let sequelize: Sequelize
|
||||
if (process.env.NODE_ENV === "dev") {
|
||||
sequelize = new Sequelize({
|
||||
dialect: "sqlite",
|
||||
storage: "data/db.sqlite"
|
||||
storage: "dev/db.sqlite"
|
||||
})
|
||||
} else {
|
||||
sequelize = new Sequelize(env.prod.postgresURI, { dialect: "postgres" })
|
||||
@@ -75,11 +75,11 @@ class Illegitimate {
|
||||
}
|
||||
|
||||
private loadMethods() {
|
||||
String.prototype.removeIndents = function(this: string) {
|
||||
String.prototype.removeIndents = function (this: string) {
|
||||
return this.replace(/^ */gm, "")
|
||||
}
|
||||
|
||||
String.prototype.capitalizeFirstLetter = function(this: string) {
|
||||
String.prototype.capitalizeFirstLetter = function (this: string) {
|
||||
return this[0].toUpperCase() + this.slice(1).toLowerCase()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user