Skip to content

Commit

Permalink
add https cert and key to quiet vite ping noise
Browse files Browse the repository at this point in the history
  • Loading branch information
jxjj committed Jul 10, 2022
1 parent f1c7ad9 commit e698f99
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions vite.config.js
@@ -1,3 +1,4 @@
import { readFileSync } from "fs";
import { defineConfig } from "vite";
import laravel from "laravel-vite-plugin";
import vue from "@vitejs/plugin-vue";
Expand All @@ -21,4 +22,10 @@ export default defineConfig({
"@creator": "/resources/camino-creator",
},
},
server: {
https: {
key: readFileSync("./.cert/key.pem"),
cert: readFileSync("./.cert/cert.pem"),
},
},
});

0 comments on commit e698f99

Please sign in to comment.