Skip to content

Commit 0c72df9

Browse files
author
Danilo Tenorio Raisi
committed
fix(): Debug and Entry Point
Cleared debug code and fixed main NestJS entry point
1 parent 7caf4fe commit 0c72df9

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

schematics/install/files/project/__sourceRoot__/main.azure.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import { <%= getRootModuleName() %> } from './<%= getRootModulePath() %>';
44

55
export async function createApp(): Promise<INestApplication> {
66
const app = await NestFactory.create(<%= getRootModuleName() %>);
7-
app.setGlobalPrefix('api');
8-
7+
app.setGlobalPrefix('api/<%= getProjectName() %>');
8+
99
await app.init();
1010
return app;
1111
}

schematics/install/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,6 @@ const rootFiles = [
8989
];
9090

9191
const validateExistingRootFiles = (host: Tree, file: FileEntry) => {
92-
console.log(file);
93-
9492
return rootFiles.includes(file.path) && host.exists(file.path);
9593
};
9694

0 commit comments

Comments
 (0)