Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/overseerr/commit/23624bd144af5df4c31995b68ce48105b95b20f6
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
7 additions and
7 deletions
@ -0,0 +1,4 @@
export enum UserType {
PLEX = 1 ,
LOCAL = 2 ,
}
@ -6,7 +6,7 @@ import { isAuthenticated } from '../middleware/auth';
import { Permission } from '../lib/permissions' ;
import logger from '../logger' ;
import { getSettings } from '../lib/settings' ;
import { UserType } from '../ ../src/hooks/useU ser';
import { UserType } from '../ constants/u ser';
const authRoutes = Router ( ) ;
@ -1,10 +1,6 @@
import useSwr from 'swr' ;
import { hasPermission , Permission } from '../../server/lib/permissions' ;
export enum UserType {
PLEX = 1 ,
LOCAL = 2 ,
}
import { UserType } from '../../server/constants/user' ;
export interface User {
id : number ;
@ -15,7 +11,7 @@ export interface User {
userType : number ;
}
export { Permission } ;
export { Permission , UserType } ;
interface UserHookResponse {
user? : User ;