Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CORS 로 인한 사이트 렌더링 실패 #1

Open
seungy0 opened this issue Jul 9, 2022 · 0 comments
Open

CORS 로 인한 사이트 렌더링 실패 #1

seungy0 opened this issue Jul 9, 2022 · 0 comments
Labels
BackEnd 백엔드 작업 사항

Comments

@seungy0
Copy link
Collaborator

seungy0 commented Jul 9, 2022

origin: 'http://localhost:3000',

app.use(cors());
로 변경해서 모든 도메인을 허용하거나

추후 서비스 공식 url 을 만들면(ex. www.wias.com)
let corsOptions = { origin: 'http://www.wias.com', credentials: true } app.use(cors(corsOptions));
로 변경해야함.

@hyh1016 hyh1016 added the BackEnd 백엔드 작업 사항 label Jul 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BackEnd 백엔드 작업 사항
Projects
None yet
Development

No branches or pull requests

2 participants