Added and whitelisted default config.
This commit is contained in:
parent
745b00dcdc
commit
3b0dcb9a8e
|
@ -1,4 +1,5 @@
|
||||||
config/*
|
config/*
|
||||||
|
!config/default.cjs
|
||||||
uploads/full/*
|
uploads/full/*
|
||||||
uploads/thumbs/*
|
uploads/thumbs/*
|
||||||
uploads/temp/*
|
uploads/temp/*
|
||||||
|
|
|
@ -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,
|
||||||
|
},
|
||||||
|
};
|
Loading…
Reference in New Issue