Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/ass/commit/35a51107b76b9818b65463546a0090b38cf19f1d
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
4 additions and
2 deletions
@ -18,6 +18,7 @@ const { host, port, useSsl, isProxied, s3enabled } = require('./config.json');
//#region Imports
const fs = require ( 'fs-extra' ) ;
const express = require ( 'express' ) ;
const nofavicon = require ( '@tycrek/express-nofavicon' ) ;
const helmet = require ( 'helmet' ) ;
const marked = require ( 'marked' ) ;
const uploadRouter = require ( './routers/upload' ) ;
@ -65,8 +66,8 @@ app.use(helmet.referrerPolicy());
app . use ( helmet . dnsPrefetchControl ( ) ) ;
useSsl && app . use ( helmet . hsts ( { preload : true } ) ) ; // skipcq: JS-0093
// Don't process favicon requests (custom middleware)
app . use ( ( req , res , next ) => ( req . url . includes ( 'favicon.ico' ) ? res . sendStatus ( CODE _NO _CONTENT ) : next ( ) ) ) ;
// Don't process favicon requests
app . use ( nofavicon ) ;
// Index can be overridden by a frontend
app . get ( '/' , ( req , res , next ) =>
@ -36,6 +36,7 @@
} ,
"dependencies" : {
"@tycrek/ass-storage-engine" : "0.2.7" ,
"@tycrek/express-nofavicon" : "^1.0.2" ,
"@tycrek/log" : ">=0.5.x" ,
"any-shell-escape" : "^0.1.1" ,
"aws-sdk" : "^2.930.0" ,