Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/ass/commit/fc31a48bbbbb83c142a88b217ef13512ecc13f3d You should set ROOT_URL correctly, otherwise the web may not work correctly.

fix: create uploads dir automatically for docker containers

pull/243/head
Josh Moore 2 years ago
parent 234c9b9c0c
commit fc31a48bbb

@ -16,7 +16,12 @@ const numChecker = (val: any) => {
*/
const Checkers: UserConfigTypeChecker = {
uploadsDir: (val) => {
try { fs.accessSync(val); return true; }
try {
fs.pathExistsSync(val)
? fs.accessSync(val)
: fs.mkdirSync(val);
return true;
}
catch (err) { return false; }
},
idType: (val) => {

Loading…
Cancel
Save