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

npm run preview 이슈 #212

Closed
toris-dev opened this issue Apr 25, 2023 · 1 comment
Closed

npm run preview 이슈 #212

toris-dev opened this issue Apr 25, 2023 · 1 comment

Comments

@toris-dev
Copy link

localhost 환경이 아닌 웹 IDE(gitpod.io) 를 이용하여

패키지 설치 후 tidory.config.example.js 설정 까지 했는데 이상하네요....

npm run preview 를 하니까

Invalid Host header 라고 뜨네요

Q. preview 는 localhost 에서만 동작하게 되어있나요???

@pronist
Copy link
Owner

pronist commented Apr 25, 2023

@gwemin 안녕하세요.

웹 IDE 는 테스트 대상이 아니었어서 말씀드리기 어렵습니다. 로컬호스트 환경에서 VSCodeWebStorm 으로 테스트를 진행했습니다. 프리뷰는 티스토리 서버를 거쳐서 들어가기 때문에 티스토리에서 받아주지 않으면 처리될 수 없습니다. 프리뷰 서버는 tidory.config.jsurl, ts_session 이 설정되어야 있어야 한다는 것도 참고해주시기 바랍니다.

@pronist pronist closed this as completed Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants