Skip to content

Commit

Permalink
change path
Browse files Browse the repository at this point in the history
  • Loading branch information
carlgunderson committed Jan 5, 2024
1 parent 22e2291 commit 16a8abb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ export default defineConfig(({ command, mode }) => {

const key = env.NODE_ENV === 'development'
? fs.readFileSync(keyPath)
: fs.readFileSync('./private-key.pem')
: fs.readFileSync('/private-key.pem')

const cert = env.NODE_ENV === 'development'
? fs.readFileSync(certPath)
: fs.readFileSync('./private-cert.pem')
: fs.readFileSync('/private-cert.pem')

let server = {
// origin: process.env.API_URL,
Expand Down

0 comments on commit 16a8abb

Please sign in to comment.