Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/ghostfolio/commit/557a0bf8080870943f70dfda37f6ae5cb0666a4e?style=split&whitespace=ignore-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
20 additions and
14 deletions
@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
### Changed
- Optimized the asynchronous operations using `Promise.all()` in the info service
- Extracted the users from the admin control panel endpoint to a dedicated endpoint
- Extracted the users from the admin control panel endpoint to a dedicated endpoint
- Improved the language localization for Italian (`it`)
- Improved the language localization for Italian (`it`)
@ -54,9 +54,6 @@ export class InfoService {
public async get ( ) : Promise < InfoItem > {
public async get ( ) : Promise < InfoItem > {
const info : Partial < InfoItem > = { } ;
const info : Partial < InfoItem > = { } ;
let isReadOnlyMode : boolean ;
let isReadOnlyMode : boolean ;
const platforms = await this . platformService . getPlatforms ( {
orderBy : { name : 'asc' }
} ) ;
const globalPermissions : string [ ] = [ ] ;
const globalPermissions : string [ ] = [ ] ;
@ -100,22 +97,30 @@ export class InfoService {
globalPermissions . push ( permissions . enableSystemMessage ) ;
globalPermissions . push ( permissions . enableSystemMessage ) ;
}
}
const isUserSignupEnabled =
const [
await this . propertyService . isUserSignupEnabled ( ) ;
benchmarks ,
demoAuthToken ,
if ( isUserSignupEnabled ) {
isUserSignupEnabled ,
globalPermissions. push ( permissions . createUserAccount ) ;
platforms,
}
statistics ,
subscriptions ,
const [ benchmarks , demoAuthToken , statistics , subscriptions , tags ] =
tags
await Promise . all ( [
] = await Promise . all ( [
this . benchmarkService . getBenchmarkAssetProfiles ( ) ,
this . benchmarkService . getBenchmarkAssetProfiles ( ) ,
this . getDemoAuthToken ( ) ,
this . getDemoAuthToken ( ) ,
this . propertyService . isUserSignupEnabled ( ) ,
this . platformService . getPlatforms ( {
orderBy : { name : 'asc' }
} ) ,
this . getStatistics ( ) ,
this . getStatistics ( ) ,
this . getSubscriptions ( ) ,
this . getSubscriptions ( ) ,
this . tagService . get ( )
this . tagService . get ( )
] ) ;
] ) ;
if ( isUserSignupEnabled ) {
globalPermissions . push ( permissions . createUserAccount ) ;
}
return {
return {
. . . info ,
. . . info ,
benchmarks ,
benchmarks ,