Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Feature/deprecate base currency (#1913)
Thomas Kaul90fe46711462
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 2238c87b67..954df7f546 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).+## Unreleased++### Changed++- Deprecated the use of the environment variable `BASE_CURRENCY`+## 1.263.0 - 2023-04-30### Changeddiff --git a/apps/api/src/main.ts b/apps/api/src/main.tsindex 6def14ad02..91d030de0f 100644--- a/apps/api/src/main.ts+++ b/apps/api/src/main.ts@@ -32,12 +32,23 @@ async function bootstrap() {// Support 10mb csv/json files for importing activitiesapp.use(bodyParser.json({ limit: '10mb' }));+ const BASE_CURRENCY = configService.get<string>('BASE_CURRENCY');const HOST = configService.get<string>('HOST') || '0.0.0.0';const PORT = configService.get<number>('PORT') || 3333;+await app.listen(PORT, HOST, () => {logLogo();Logger.log(`Listening at http://${HOST}:${PORT}`);Logger.log('');++ if (BASE_CURRENCY) {+ Logger.warn(+ `The environment variable "BASE_CURRENCY" is deprecated and will be removed in Ghostfolio 2.0.`+ );+ Logger.warn(+ 'Please use the currency converter in the activity dialog instead.'+ );+ }});}