Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/overseerr/commit/fa8f112c31ccb5ee6244f776bc97e76d81958539
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
12 additions and
4 deletions
@ -1,6 +1,6 @@
const devConfig = {
type : 'sqlite' ,
database : 'config/db/db.sqlite3' ,
database : ` ${ process . env . CONFIG _DIRECTORY || 'config' } /db/db.sqlite3 ` ,
synchronize : true ,
migrationsRun : false ,
logging : false ,
@ -15,7 +15,7 @@ const devConfig = {
const prodConfig = {
type : 'sqlite' ,
database : 'config/db/db.sqlite3' ,
database : ` ${ process . env . CONFIG _DIRECTORY || 'config' } /db/db.sqlite3 ` ,
synchronize : false ,
logging : false ,
entities : [ 'dist/entity/**/*.js' ] ,
@ -137,7 +137,11 @@ interface AllSettings {
notifications : NotificationSettings ;
}
const SETTINGS_PATH = path . join ( __dirname , '../../config/settings.json' ) ;
const SETTINGS_PATH = path . join (
__dirname ,
'../../' ,
` ${ process . env . CONFIG_DIRECTORY || '/config' } /settings.json `
) ;
class Settings {
private data : AllSettings ;
@ -42,7 +42,11 @@ const logger = winston.createLogger({
) ,
} ) ,
new winston . transports . DailyRotateFile ( {
filename : path.join ( __dirname , '../config/logs/overseerr-%DATE%.log' ) ,
filename : path.join (
__dirname ,
'../' ,
` ${ process . env . CONFIG_DIRECTORY || '/config' } /logs/overseerr-%DATE%.log `
) ,
datePattern : 'YYYY-MM-DD' ,
zippedArchive : true ,
maxSize : '20m' ,