We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7caf4fe commit 0c72df9Copy full SHA for 0c72df9
schematics/install/files/project/__sourceRoot__/main.azure.ts
@@ -4,8 +4,8 @@ import { <%= getRootModuleName() %> } from './<%= getRootModulePath() %>';
4
5
export async function createApp(): Promise<INestApplication> {
6
const app = await NestFactory.create(<%= getRootModuleName() %>);
7
- app.setGlobalPrefix('api');
8
-
+ app.setGlobalPrefix('api/<%= getProjectName() %>');
+
9
await app.init();
10
return app;
11
}
schematics/install/index.ts
@@ -89,8 +89,6 @@ const rootFiles = [
89
];
90
91
const validateExistingRootFiles = (host: Tree, file: FileEntry) => {
92
- console.log(file);
93
94
return rootFiles.includes(file.path) && host.exists(file.path);
95
};
96
0 commit comments