fix(server): ssr front (#15934)
This commit is contained in:
@@ -81,7 +81,7 @@ const MIGRATED_REST_METHODS = [
|
||||
export class AppModule {
|
||||
private static getConditionalModules(): DynamicModule[] {
|
||||
const modules: DynamicModule[] = [];
|
||||
const frontPath = join(__dirname, '..', 'front');
|
||||
const frontPath = join(__dirname, 'front');
|
||||
|
||||
// NestJS DevTools - can be useful for debugging and profiling
|
||||
/* if (process.env.NODE_ENV === NodeEnvironment.DEVELOPMENT) {
|
||||
|
||||
@@ -22,7 +22,7 @@ export function generateFrontConfig(): void {
|
||||
</script>
|
||||
<!-- END: Twenty Config -->`;
|
||||
|
||||
const distPath = path.join(__dirname, '../..', 'front');
|
||||
const distPath = path.join(__dirname, '..', 'front');
|
||||
const indexPath = path.join(distPath, 'index.html');
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user