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

Set 'base' on build but leave base empty '' in dev. #9

Closed
Dilden opened this issue May 2, 2022 · 1 comment
Closed

Set 'base' on build but leave base empty '' in dev. #9

Dilden opened this issue May 2, 2022 · 1 comment

Comments

@Dilden
Copy link
Owner

Dilden commented May 2, 2022

svelte.config.js should have this set for builds to work in a subdirectory

kit: {
    paths: {
        base: '/helth'
    },
}
@Dilden
Copy link
Owner Author

Dilden commented May 20, 2022

Due to problems with CORS, some application features will need to make API calls to backend which means the app can simply be hosted at "/". No longer necessary to host static files in a subdirectory as a nodeJS backend is where the app will be deployed to.

@Dilden Dilden closed this as not planned Won't fix, can't repro, duplicate, stale May 20, 2022
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

1 participant