Nuxt/test/fixtures/https/nuxt.config.js

12 lines
233 B
JavaScript
Raw Normal View History

import fs from 'fs'
import path from 'path'
export default {
server: {
https: {
key: fs.readFileSync(path.resolve(__dirname, 'server.key')),
cert: fs.readFileSync(path.resolve(__dirname, 'server.crt'))
}
}
}