Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/ass/commit/b591727a505352939b9d6a29e69eff77ef64215e
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
2 additions and
2 deletions
@ -15,7 +15,7 @@ import { path, log, getTrueHttp, getTrueDomain } from './utils';
//#region Setup - Run first time setup if using Docker (pseudo-process, setup will be run with docker exec)
import { doSetup } from './setup' ;
const configPath = path ( 'config.json' ) ;
if ( ! fs . existsSync ( configPath ) ) {
if ( ! fs . existsSync ( configPath ) || fs . readFileSync ( configPath ) . toString ( ) . length === 0 ) {
doSetup ( ) ;
// @ts-ignore
return ;
@ -18,7 +18,7 @@ try {
var { useSsl , port , domain , isProxied , diskFilePath , s3bucket , s3endpoint , s3usePathStyle } = require ( '../config.json' ) ; // skipcq: JS-0239, JS-0102
} catch ( ex ) {
// @ts-ignore
if ( ex . code !== 'MODULE_NOT_FOUND' ) console . error ( ex ) ;
if ( ex . code !== 'MODULE_NOT_FOUND' || Object . prototype . toString . call ( ex ) . includes ( 'Unexpected end of JSON input' ) ) console . error ( ex ) ;
}
export function getTrueHttp() {