Merged PR 284: エラーの挙動について確認する
## 概要 [Task2302: エラーの挙動について確認する](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/2302) - dockerfileまでいじった結果、develop動作確認で動かなくなっていたため、一旦静的ファイル配信部分だけ修正で問題なく動くかを確認する ## レビューポイント - 情報共有 ## 動作確認状況 - ローカルで確認
This commit is contained in:
parent
6ad3a81e08
commit
21ecc1db6b
@ -43,8 +43,15 @@ import { TemplateFilesRepositoryModule } from './repositories/template_files/tem
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
ServeStaticModule.forRoot({
|
||||
rootPath: join(__dirname, '..', 'build'),
|
||||
ServeStaticModule.forRootAsync({
|
||||
useFactory: () =>
|
||||
process.env.STAGE === 'local'
|
||||
? [
|
||||
{
|
||||
rootPath: join(__dirname, '..', 'build'),
|
||||
},
|
||||
]
|
||||
: [],
|
||||
}),
|
||||
ConfigModule.forRoot({
|
||||
envFilePath: ['.env.local', '.env'],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user