Skip to content

Commit

Permalink
chore: https로 변경됨에 따라, CORS 설정 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
yangchef1 committed Nov 28, 2024
1 parent e19b5a3 commit 0e0591d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/server/src/common/socket-adapter/custom-io-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import * as jwt from 'jsonwebtoken';
export class CustomIoAdapter extends IoAdapter {
createIOServer(port: number, options?: ServerOptions): any {
const corsOptions = {
origin: ['http://localhost:5173', 'http://boost-harmony.kro.kr'],
origin: ['http://localhost:5173', 'https://boost-harmony.kro.kr'],
methods: ['GET', 'POST'],
credentials: true,
};
Expand Down

0 comments on commit 0e0591d

Please sign in to comment.