exchange page
This commit is contained in:
parent
263e9513b7
commit
344478c577
4 changed files with 22 additions and 15 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue