Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/ghostfolio/commit/bffe6060bd52427af135005826fed8d4d5ae1c61
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
4 additions and
17 deletions
@ -294,10 +294,9 @@ export class PortfolioService {
const { items } = await this . getChart ( {
dateRange ,
impersonationId ,
portfolio Orders ,
portfolio Calculator ,
transactionPoints ,
userId ,
userCurrency : this.request.user.Settings.settings.baseCurrency ,
withDataDecimation : false
} ) ;
@ -1218,9 +1217,8 @@ export class PortfolioService {
const { items } = await this . getChart ( {
dateRange ,
impersonationId ,
portfolio Orders ,
portfolio Calculator ,
transactionPoints ,
userCurrency ,
userId
} ) ;
@ -1445,17 +1443,15 @@ export class PortfolioService {
private async getChart ( {
dateRange = 'max' ,
impersonationId ,
portfolio Orders ,
portfolio Calculator ,
transactionPoints ,
userCurrency ,
userId ,
withDataDecimation = true
} : {
dateRange? : DateRange ;
impersonationId : string ;
portfolio Orders: PortfolioOrder [ ] ;
portfolio Calculator: PortfolioCalculator ;
transactionPoints : TransactionPoint [ ] ;
userCurrency : string ;
userId : string ;
withDataDecimation? : boolean ;
} ) : Promise < HistoricalDataContainer > {
@ -1469,15 +1465,6 @@ export class PortfolioService {
userId = await this . getUserId ( impersonationId , userId ) ;
const portfolioCalculator = new PortfolioCalculator ( {
currency : userCurrency ,
currentRateService : this.currentRateService ,
exchangeRateDataService : this.exchangeRateDataService ,
orders : portfolioOrders
} ) ;
portfolioCalculator . setTransactionPoints ( transactionPoints ) ;
const endDate = new Date ( ) ;
const portfolioStart = parseDate ( transactionPoints [ 0 ] . date ) ;