Added and whitelisted default config.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,4 +1,5 @@
|
|||||||
config/*
|
config/*
|
||||||
|
!config/default.cjs
|
||||||
uploads/full/*
|
uploads/full/*
|
||||||
uploads/thumbs/*
|
uploads/thumbs/*
|
||||||
uploads/temp/*
|
uploads/temp/*
|
||||||
|
|||||||
19
config/default.cjs
Normal file
19
config/default.cjs
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
module.exports = {
|
||||||
|
web: {
|
||||||
|
host: 'localhost',
|
||||||
|
port: 7000,
|
||||||
|
},
|
||||||
|
database: {
|
||||||
|
client: 'sqlite3',
|
||||||
|
connection: {
|
||||||
|
filename: './db.sqlite',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
uploads: {
|
||||||
|
flushTempOnStart: true,
|
||||||
|
path: './uploads',
|
||||||
|
thumbHeight: 300,
|
||||||
|
thumbQuality: 50,
|
||||||
|
allowMimetypeMismatch: false,
|
||||||
|
},
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user