Skip to content

Commit 01fdd29

Browse files
authored
Merge pull request #268 from dump-hr/prod-fix
remove serve static with serveRoot
2 parents b00badc + 49525e1 commit 01fdd29

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

apps/api/src/app.module.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,6 @@ import { TestSlotModule } from './test-slot/test-slot.module';
1818

1919
@Module({
2020
imports: [
21-
ServeStaticModule.forRoot({
22-
rootPath: join(__dirname, '..', '..', '..', 'web', 'dist', 'assets'),
23-
serveRoot: '/assets',
24-
exclude: ['/api/(.*)'],
25-
}),
26-
2721
ServeStaticModule.forRoot({
2822
rootPath: join(__dirname, '..', '..', '..', 'web', 'dist'),
2923
exclude: ['/api/(.*)'],

0 commit comments

Comments
 (0)