We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Astro v5.1.2 Node v22.12.0 System Windows (x64) Package Manager pnpm Output static Adapter none Integrations unplugin-yaml @astrojs/sitemap pagefind astro-runtime-config @playform/compress @astrojs/mdx
No response
Enabling HTTPS via @vitejs/plugin-basic-ssl works for dev mode but is ignored for preview mode.
astro config:
import { defineConfig } from 'astro/config'; import basicSsl from '@vitejs/plugin-basic-ssl'; // https://astro.build/config export default defineConfig({ vite: { plugins: [basicSsl()], }, });
Preview mode also uses HTTPS when @vitejs/plugin-basic-ssl is configured.
https://stackblitz.com/edit/github-aymh1xh1
The text was updated successfully, but these errors were encountered:
I don't think we have the mean to make this work in preview unless this is implemented inside Astro.
preview
After the build, vite doesn't exist anymore, and so as the plugin.
vite
This isn't a bug. I suggest you to open a new discussion and propose supporting https in preview command.
Sorry, something went wrong.
No branches or pull requests
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
Enabling HTTPS via @vitejs/plugin-basic-ssl works for dev mode but is ignored for preview mode.
astro config:
What's the expected result?
Preview mode also uses HTTPS when @vitejs/plugin-basic-ssl is configured.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-aymh1xh1
Participation
The text was updated successfully, but these errors were encountered: