Release 1.297.3 (#2208)

pull/2209/head 1.297.3
Thomas Kaul 2 years ago committed by GitHub
parent f22071f061
commit 8ba50f2729
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,7 +5,7 @@ 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/), 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). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## 1.297.2 - 2023-08-05 ## 1.297.3 - 2023-08-05
### Added ### Added

@ -74,7 +74,15 @@ import { StatusCodes } from 'http-status-codes';
PrismaModule, PrismaModule,
RedisCacheModule, RedisCacheModule,
ScheduleModule.forRoot(), ScheduleModule.forRoot(),
...SUPPORTED_LANGUAGE_CODES.map((languageCode) => {
return ServeStaticModule.forRoot({
rootPath: join(__dirname, '..', 'client', languageCode),
serveRoot: `/${languageCode}`
});
}),
ServeStaticModule.forRoot({ ServeStaticModule.forRoot({
exclude: ['/api*'],
rootPath: join(__dirname, '..', 'client'),
serveStaticOptions: { serveStaticOptions: {
setHeaders: (res) => { setHeaders: (res) => {
if (res.req?.path === '/') { if (res.req?.path === '/') {
@ -94,9 +102,7 @@ import { StatusCodes } from 'http-status-codes';
res.statusCode = StatusCodes.MOVED_PERMANENTLY; res.statusCode = StatusCodes.MOVED_PERMANENTLY;
} }
} }
}, }
rootPath: join(__dirname, '..', 'client'),
exclude: ['/api*']
}), }),
SubscriptionModule, SubscriptionModule,
SymbolModule, SymbolModule,

@ -1,6 +1,6 @@
{ {
"name": "ghostfolio", "name": "ghostfolio",
"version": "1.297.2", "version": "1.297.3",
"homepage": "https://ghostfol.io", "homepage": "https://ghostfol.io",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"scripts": { "scripts": {

Loading…
Cancel
Save