Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/ass/commit/217b78f52ff2f4341cbadfd24eee375aea2a07ba
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
2 additions and
2 deletions
@ -12,7 +12,7 @@ const { HTTP, HTTPS, KILOBYTES } = require('./MagicNumbers.json');
// Catch config.json not existing when running setup script
try {
var { useSsl , port , domain , isProxied , diskFilePath , saveWithDate , s3bucket , s3endpoint } = require ( './config.json' ) ; // skipcq: JS-0239, JS-0102
var { useSsl , port , domain , isProxied , diskFilePath , saveWithDate , s3bucket , s3endpoint , s3usePathStyle } = require ( './config.json' ) ; // skipcq: JS-0239, JS-0102
} catch ( ex ) {
if ( ex . code !== 'MODULE_NOT_FOUND' ) console . error ( ex ) ;
}
@ -26,7 +26,7 @@ function getTrueDomain(d = domain) {
}
function getS3url ( s3key , ext ) {
return ` https:// ${ s3 bucket} . ${ s3endpoint } / ${ s3key } ${ ext } ` ;
return ` https:// ${ s3 usePathStyle ? ` ${ s3endpoint } / ${ s3bucket } ` : ` ${ s3 bucket} . ${ s3endpoint } ` } / ${ s3key } ${ ext } ` ;
}
function getDirectUrl ( resourceId ) {