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

Error: allowhost not found in vite.config.js when accessing remote Slidev deployment on cloud platform #2090

Open
jaguarliuu opened this issue Feb 27, 2025 · 0 comments

Comments

@jaguarliuu
Copy link

I'm deploying Slidev on a cloud-based build platform that provisions an HTTPS domain (e.g., https://cnb-n78-1il2g0h7m-001-3030.cnb.cool/). When launching in remote mode and accessing the mapped domain, I encounter an error stating 'allowhost' is missing in vite.config.js. Adding a vite.config.js file to my Slidev-generated project doesn't resolve the issue. What would be the best way to address this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant