Browse Source

Merge pull request #167 from nameczz/main

fix client path
nameczz 4 years ago
parent
commit
ef97baaf30
1 changed files with 2 additions and 2 deletions
  1. 2 2
      server/src/app.module.ts

+ 2 - 2
server/src/app.module.ts

@@ -18,7 +18,7 @@ import { LoggingInterceptor } from './interceptors/index';
 @Module({
   imports: [
     ServeStaticModule.forRoot({
-      rootPath: join(__dirname, '..', 'build'),
+      rootPath: join(__dirname, '../../', 'build'),
       // renderPath: '/', // only root render static html
     }),
     MilvusModule,
@@ -48,4 +48,4 @@ import { LoggingInterceptor } from './interceptors/index';
     UsersService,
   ],
 })
-export class AppModule { }
+export class AppModule {}