Skip to content

Building the site works though deployed site has CORS errors #454

Answered by mainangethe
mainangethe asked this question in Q&A
Discussion options

You must be logged in to vote

I found out the issue. I was deploying the site in a sub-folder and the config was assuming there are no.
base: '/'

That's what was leading to the files not being found.
So in future if you want to deploy to a sub-folder remember to update the base path to match the sub-folder structure

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@mainangethe
Comment options

Answer selected by mainangethe
@daTrDe
Comment options

@mainangethe
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #452 on May 18, 2024 11:55.