diff --git a/vite.config.js b/vite.config.js index 01ccdf9d..67f0d33f 100644 --- a/vite.config.js +++ b/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"; @@ -21,4 +22,10 @@ export default defineConfig({ "@creator": "/resources/camino-creator", }, }, + server: { + https: { + key: readFileSync("./.cert/key.pem"), + cert: readFileSync("./.cert/cert.pem"), + }, + }, });