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
I get this error :
Uncaught (in promise) DOMException: Failed to register a ServiceWorker for scope ('https://127.0.0.1:5173/src/') with script ('https://127.0.0.1:5173/src/sw.ts'): An SSL certificate error occurred when fetching the script.
And this is my vite.config.ts file : ` import { fileURLToPath, URL } from "node:url";
import { defineConfig } from "vite"; import vue from "@vitejs/plugin-vue"; import basicSsl from '@vitejs/plugin-basic-ssl'
// https://vitejs.dev/config/ export default defineConfig({ plugins: [ vue(), basicSsl() ], resolve: { alias: { "@": fileURLToPath(new URL("./src", import.meta.url)), }, }, server: { https: true }, }); `
Also, I have vue 3.2.45 and vite 3.2.4. And I launch the dev server with the command npm run dev -- --https
npm run dev -- --https
The text was updated successfully, but these errors were encountered:
Me also having this issue. this issue is going from 2022. i think no body is going to take a look at this.
Sorry, something went wrong.
No branches or pull requests
I get this error :
And this is my vite.config.ts file :
`
import { fileURLToPath, URL } from "node:url";
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import basicSsl from '@vitejs/plugin-basic-ssl'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
vue(),
basicSsl()
],
resolve: {
alias: {
"@": fileURLToPath(new URL("./src", import.meta.url)),
},
},
server: {
https: true
},
});
`
Also, I have vue 3.2.45 and vite 3.2.4.
And I launch the dev server with the command
npm run dev -- --https
The text was updated successfully, but these errors were encountered: