From f1a7d08ecabf66d6157b618f037cb73cab093d6c Mon Sep 17 00:00:00 2001 From: constwz Date: Fri, 3 Nov 2023 14:40:59 +0800 Subject: [PATCH] feat:support pancake --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index dee9b4f787..552ea9645f 100644 --- a/src/main.ts +++ b/src/main.ts @@ -9,7 +9,7 @@ async function bootstrap() { app.get(IConfigurationService); const applicationPort: string = configurationService.getOrThrow('applicationPort'); - + app.enableCors() await app.listen(applicationPort); }