exchange page

This commit is contained in:
Boki 2025-06-18 07:20:55 -04:00
parent 263e9513b7
commit 344478c577
4 changed files with 22 additions and 15 deletions

View file

@ -21,7 +21,7 @@ const app = new Hono();
app.use(
'*',
cors({
origin: ['http://localhost:4200', 'http://localhost:3000'], // React dev server ports
origin: ['http://localhost:4200', 'http://localhost:3000', 'http://localhost:3002'], // React dev server ports
allowMethods: ['GET', 'POST', 'PUT', 'PATCH', 'DELETE', 'OPTIONS'],
allowHeaders: ['Content-Type', 'Authorization'],
credentials: true,