Updated folder structure

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2024-09-26 11:12:47 +02:00
parent 5b8a1ef349
commit 1698ed1e80
8 changed files with 24 additions and 14 deletions

View File

@@ -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()
}
}