From 72e0b07f71445b6f16942b2db1bd888ed587879b Mon Sep 17 00:00:00 2001 From: Toast Date: Fri, 7 Feb 2025 23:28:32 +0100 Subject: [PATCH] Add ionic dev url to cors in development mode --- src/main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.ts b/src/main.ts index ff80913..abb4796 100644 --- a/src/main.ts +++ b/src/main.ts @@ -13,6 +13,7 @@ async function bootstrap() { } else { logger.log('In development mode'); origin.push('http://localhost:4200'); + origin.push('http://localhost:8100') } app.enableCors({ credentials: true,