Thomas Kaul
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
11 additions and
5 deletions
-
CHANGELOG.md
-
apps/api/src/app/app.module.ts
-
package.json
|
@ -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": { |
|
|