Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/ass/commit/a2aa4d58bc2fc2458c40cda2b1a2352228078631
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
2 additions and
2 deletions
@ -84,6 +84,6 @@ function getImageThumbnail(file: FileData) {
* /
export default ( file : FileData ) : Promise < string > = >
new Promise ( ( resolve , reject ) = >
( file . is . video ? getVideoThumbnail : file.is.image ? getImageThumbnail : ( ) = > Promise . resolve ( ) ) ( file )
( file . is . video ? getVideoThumbnail : ( file . is . image && ! file . mimetype . includes ( 'webp' ) ) ? getImageThumbnail : ( ) = > Promise . resolve ( ) ) ( file )
. then ( ( ) = > resolve ( ( file . is . video || file . is . image ) ? getNewName ( file . randomId ) : file . is . audio ? 'views/ass-audio-icon.png' : 'views/ass-file-icon.png' ) )
. catch ( reject ) ) ;
@ -26,4 +26,4 @@ function getVibrant(file: FileData, resolve: Function, reject: Function) {
* @param { * } file The file to get a colour from
* @returns The Vibrant colour as a Hex value ( or random Hex value for videos )
* /
export default ( file : FileData ) : Promise < string > = > new Promise ( ( resolve , reject ) = > ! file . is . image ? resolve ( randomHexColour ( ) ) : getVibrant ( file , resolve , reject ) ) ; // skipcq: JS-0229
export default ( file : FileData ) : Promise < string > = > new Promise ( ( resolve , reject ) = > ( ! file . is . image || file . mimetype . includes ( 'webp' ) ) ? resolve ( randomHexColour ( ) ) : getVibrant ( file , resolve , reject ) ) ; // skipcq: JS-0229