Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Ombi/commit/2c8e50e9ffd48251f3bfeeef1eb2d48c215e6026
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
11 additions and
5 deletions
@ -127,6 +127,9 @@
< li [ ngClass ] = " { ' active ' : ' en ' = = = translate . currentLang } " >
< a ( click ) = " translate . use ( ' en ' ) " > English< / a >
< / li >
< li [ ngClass ] = " { ' active ' : ' es ' = = = translate . currentLang } " >
< a ( click ) = " translate . use ( ' es ' ) " > Español< / a >
< / li >
< li [ ngClass ] = " { ' active ' : ' fr ' = = = translate . currentLang } " >
< a ( click ) = " translate . use ( ' fr ' ) " > Français< / a >
< / li >
@ -139,9 +142,6 @@
< li [ ngClass ] = " { ' active ' : ' it ' = = = translate . currentLang } " >
< a ( click ) = " translate . use ( ' it ' ) " > Italiano< / a >
< / li >
< li [ ngClass ] = " { ' active ' : ' es ' = = = translate . currentLang } " >
< a ( click ) = " translate . use ( ' es ' ) " > Español< / a >
< / li >
< li [ ngClass ] = " { ' active ' : ' nl ' = = = translate . currentLang } " >
< a ( click ) = " translate . use ( ' nl ' ) " > Nederlands< / a >
< / li >
@ -157,6 +157,9 @@
< li [ ngClass ] = " { ' active ' : ' sv ' = = = translate . currentLang } " >
< a ( click ) = " translate . use ( ' sv ' ) " > Svenska< / a >
< / li >
< li [ ngClass ] = " { ' active ' : ' sk ' = = = translate . currentLang } " >
< a ( click ) = " translate . use ( ' sk ' ) " > Slovak< / a >
< / li >
< / ul >
< / li >
< / ul >
@ -43,13 +43,13 @@ export class AppComponent implements OnInit {
__webpack_public_path__ = base + "/dist/" ;
}
this . translate . addLangs ( [ "en" , "de" , "fr" , "da" , "es" , "it" , "nl" , "s v", "no" , "pl" , "pt" ] ) ;
this . translate . addLangs ( [ "en" , "de" , "fr" , "da" , "es" , "it" , "nl" , "s k", "s v", "no" , "pl" , "pt" ] ) ;
// this language will be used as a fallback when a translation isn't found in the current language
this . translate . setDefaultLang ( "en" ) ;
// See if we can match the supported langs with the current browser lang
const browserLang : string = translate . getBrowserLang ( ) ;
this . translate . use ( browserLang . match ( /en|fr|da|de|es|it|nl|s v|no|pl|pt/) ? browserLang : "en" ) ;
this . translate . use ( browserLang . match ( /en|fr|da|de|es|it|nl|s k|s v|no|pl|pt/) ? browserLang : "en" ) ;
}
public ngOnInit() {