Dough Git

commit

Update cors.ts

commit
9e68b7f2d6b5645d7b4ea803b84fbac941d751a4
author
Clove Twilight <[email protected]>
date
2026-10-01 06:39

diff --git a/src/cors.ts b/src/cors.ts
index 8cd5b72..1fcc0a8 100644
--- a/src/cors.ts
+++ b/src/cors.ts
@@ -22,8 +22,8 @@ const ALLOWED: string[] = [
 
 // Exact origins for local development (scheme + host + port must match)
 const DEV_ORIGINS: string[] = [
-  "http://localhost:3000",
-  "http://127.0.0.1:3000",
+  "http://localhost",
+  "http://127.0.0.1",
 ];
 
 function isAllowed(origin: string): boolean {