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

Merge pull request from tycrek/fixed-another-bug-idfk

removed weird slash
pull/56/head
Josh Moore 4 years ago committed by GitHub
commit 1b28fb53d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -70,7 +70,7 @@ useSsl && app.use(helmet.hsts({ preload: true })); // skipcq: JS-0093
app.use(nofavicon);
// Use custom index, otherwise render README.md
const ASS_INDEX = indexFile !== '' && fs.existsSync(`./${indexFile}/`) && require(`./${indexFile}`);
const ASS_INDEX = indexFile !== '' && fs.existsSync(`./${indexFile}`) && require(`./${indexFile}`);
app.get('/', (req, res, next) => ASS_INDEX // skipcq: JS-0229
? ASS_INDEX(req, res, next)
: fs.readFile(path('README.md'))

Loading…
Cancel
Save