📅  最后修改于: 2022-03-11 14:59:39.538000             🧑  作者: Mango
var path = require('path');
var options = {
key: fs.readFileSync(path.resolve('dist/ssl/keys/server.key')),
cert: fs.readFileSync(path.resolve('dist/ssl/keys/server.crt'))
};