Exported SPA slides undisplayable due to CORS
Describe the bug
I exported a presentation using yarn slidev build and put it on GitLab Pages, but when I access the URL it displays a blank page with CORS error in console.
I did add the base path option: in my case, yarn slidev build --base /iwcc-211107/.
To Reproduce Steps to reproduce the behavior:
- Go to https://yheuhtozr.gitlab.io/iwcc-211007/
(the source files are: https://gitlab.com/yheuhtozr/iwcc-211007/-/tree/slides)
Desktop (please complete the following information):
- OS: Win10 21H1
- Browser: Firefox 94.0.1, Chrome 95
- Slidev version: 0.27.10
I don't really know why it's not working in your case, but I don't have any problem publishing to Gitlab pages on my side:
- The repo: https://gitlab.com/tonai/slidev-page
- The published page: https://tonai.gitlab.io/slidev-page
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.