Feature/32 deploy api as azure function app (#34)

* changing api to azure function app

* changing api to azure function app

* changing api to azure function app

* changing api to azure function app

* changing api to azure function app

* changing api to azure function app

* changing api to azure container app
This commit was merged in pull request #34.
This commit is contained in:
2024-11-30 04:51:16 +00:00
committed by GitHub
parent f70e8cce2a
commit cd21f5170f
17 changed files with 395 additions and 207 deletions

View File

@@ -105,4 +105,10 @@ export class AppController {
return error;
}
}
@Public()
@Get('hello')
async getHello(): Promise<string> {
return this.appService.getHello();
}
}

View File

@@ -8,6 +8,7 @@ async function bootstrap() {
const httpService = new HttpService();
const app = await NestFactory.create(AppModule);
app.setGlobalPrefix('api');
app.useGlobalFilters(new HttpExceptionFilter());
httpService.axiosRef.interceptors.response.use(
(response) => {