Skip to content

Commit

Permalink
disable https
Browse files Browse the repository at this point in the history
  • Loading branch information
crlssn committed Nov 13, 2024
1 parent 5d07851 commit 0857183
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions js/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
import vueDevTools from 'vite-plugin-vue-devtools'
import fs from "node:fs";
// import fs from "node:fs";

// https://vite.dev/config/
export default defineConfig({
Expand All @@ -14,10 +14,10 @@ export default defineConfig({
vueDevTools(),
],
server: {
https: {
key: fs.readFileSync('./../.secrets/localhost.key'),
cert: fs.readFileSync('./../.secrets/localhost.crt'),
},
// https: {
// key: fs.readFileSync('./../.secrets/localhost.key'),
// cert: fs.readFileSync('./../.secrets/localhost.crt'),
// },
port: 5173, // Optional: set the port you want to use
},
resolve: {
Expand Down

0 comments on commit 0857183

Please sign in to comment.