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

Disable SSR for specific pages/routes on production #888

Closed
johnyvelho opened this issue Apr 5, 2021 · 2 comments
Closed

Disable SSR for specific pages/routes on production #888

johnyvelho opened this issue Apr 5, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@johnyvelho
Copy link

johnyvelho commented Apr 5, 2021

Disabling SSR for specific routes doesn't works on production.

only at /routes/account/index.svelte:
<script context="module">
	export const ssr = false;
</script>

Locally works fine. However, when running the node server, accessing the /account page it won't work properly. Css's is not loaded

You can check an example page here: https://www.imobcorreia.com.br/test

Severity
annoying

@johnyvelho johnyvelho changed the title Disable SSR for specific pages/routes Disable SSR for specific pages/routes on production Apr 5, 2021
@Ophuscado
Copy link

I believe it's related to #924.

@benmccann benmccann added the bug Something isn't working label Jul 15, 2021
@benmccann
Copy link
Member

Closing as this was reported to be related to #924 which is fixed now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants