Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Ombi/commit/93997116be8c0927c32e32705d4d051014d901c3
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
16 additions and
4 deletions
@ -212,6 +212,7 @@ export interface IUserManagementSettings extends ISettings {
bannedPlexUserIds : string [ ] ;
bannedEmbyUserIds : string [ ] ;
bannedJellyfinUserIds : string [ ] ;
defaultStreamingCountry : string ;
}
export interface IAbout {
@ -13,13 +13,13 @@
Import Plex Users< / mat-slide-toggle >
< / div >
< / div >
< div class = "form-group" >
< mat-slide-toggle id = "importAdmin" [ ( ngModel ) ] = " settings . importPlexAdmin " > Import Plex Admin< / mat-slide-toggle >
< / div >
< div * ngIf = "plexUsers" >
< p > Plex Users excluded from Import< / p >
< p-autoComplete [ ( ngModel ) ] = " bannedPlexUsers " [ suggestions ] = " filteredPlexUsers " [ multiple ] = " true " field = "username" ( completeMethod ) = " filterPlexList ( $ event ) " > < / p-autoComplete >
< / div >
< / div >
@ -27,10 +27,10 @@
< div class = "form-group" >
< mat-slide-toggle id = "importEmbyUsers" [ ( ngModel ) ] = " settings . importEmbyUsers " > Import Emby Users< / mat-slide-toggle >
< / div >
< div * ngIf = "embyUsers" >
< p > Emby Users excluded from Import< / p >
< p-autoComplete [ ( ngModel ) ] = " bannedEmbyUsers " [ suggestions ] = " filteredEmbyUsers " [ multiple ] = " true " field = "username" ( completeMethod ) = " filterEmbyList ( $ event ) " > < / p-autoComplete >
< / div >
@ -75,6 +75,15 @@
< / div >
< / div >
< mat-form-field >
< mat-label [ translate ] = " ' UserPreferences . StreamingCountry ' " > < / mat-label >
< mat-select [ ( value ) ] = " settings . defaultStreamingCountry " >
< mat-option * ngFor = "let value of countries" [ value ] = " value " >
{{value}}
< / mat-option >
< / mat-select >
< / mat-form-field >
< / div >
< div class = "form-group" >
< button ( click ) = " submit ( ) " mat-raised-button type = "submit" id = "save" class = "mat-focus-indicator mat-stroked-button accent mat-accent mat-raised-button mat-button-base" ng-reflect-disabled = "false" >
@ -29,6 +29,7 @@ export class UserManagementComponent implements OnInit {
public bannedJellyfinUsers : IUsersModel [ ] = [ ] ;
public enableImportButton = false ;
public countries : string [ ] ;
constructor ( private readonly settingsService : SettingsService ,
private readonly notificationService : NotificationService ,
@ -40,6 +41,7 @@ export class UserManagementComponent implements OnInit {
}
public ngOnInit ( ) : void {
this . identityService . getSupportedStreamingCountries ( ) . subscribe ( x = > this . countries = x ) ;
this . settingsService . getUserManagementSettings ( ) . subscribe ( x = > {
this . settings = x ;