fix(server): ssr front (#15934)

This commit is contained in:
Paul Rastoin
2025-11-19 19:16:46 +01:00
committed by GitHub
parent 674ddbd525
commit 89d166ece6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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 {