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

Support for SSR in AstroWind Template #577

Open
divya-binil opened this issue Dec 30, 2024 · 0 comments
Open

Support for SSR in AstroWind Template #577

divya-binil opened this issue Dec 30, 2024 · 0 comments

Comments

@divya-binil
Copy link

While working on a project that requires token-based viewing of protected pages, I encountered a limitation with the AstroWind template when attempting to enable SSR (output: 'server' in astro.config.mjs). As confirmed in Issue #194, SSR is currently unsupported, and enabling it causes the project to fail.

Additionally, when changing the configuration to set prerender: false in combination with SSR, I encountered a UI error. I’ve attached a screenshot of the error below for reference.

image

Use Case
Our project involves displaying sensitive, unpublished content that needs to be securely accessed using server-side rendering (SSR). This ensures that tokens and sensitive data are not exposed in the client-side code, which is a critical requirement for our application.

Request
It would be highly beneficial if AstroWind could support SSR, even with minimal configuration changes. Alternatively, detailed guidance or workarounds to enable SSR in the current version would be immensely helpful.

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