Explorar el Código

Merge pull request #167 from nameczz/main

fix client path
nameczz hace 4 años
padre
commit
ef97baaf30
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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 {}