Skip to content
This repository was archived by the owner on Jun 27, 2024. It is now read-only.

Commit 05e1297

Browse files
committed
add integration
1 parent 17fe951 commit 05e1297

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

webtool-be/src/app.controller.ts

-4
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,4 @@ export class AppController {
99
getHello(): string {
1010
return this.appService.getHello();
1111
}
12-
13-
@Get()
14-
@Redirect("/client")
15-
get(){}
1612
}

webtool-be/src/app.module.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ import { join } from 'path';
1313
@Module({
1414
imports: [PasswordsModule, AuthModule, UserModule, DashboardModule, NotesModule,
1515
ServeStaticModule.forRoot({
16-
rootPath: join(__dirname, '..', 'client'),
17-
renderPath: ""
18-
}),],
16+
rootPath: join(__dirname, '..','..','webtool-ui', 'dist'),
17+
serveRoot: '/',
18+
})],
1919
controllers: [AppController],
2020
providers: [AppService],
2121
})

0 commit comments

Comments
 (0)