This commit is contained in:
gaoshuaixing
2023-08-22 15:04:19 +08:00
parent 33d1be4dc4
commit 48c236a685
2 changed files with 11 additions and 1 deletions

View File

@@ -14,7 +14,7 @@ module.exports = {
cmd: 'npm run dev',
hostname: 'localhost',
port: 8080,
indexPath: 'view_example.html'
indexPath: 'index.html'
},
electron: {
directory: './',
@@ -32,6 +32,15 @@ module.exports = {
cmd: 'npm run build'
},
/**
* 移动资源
* ee-bin rd
*/
rd: {
dist: './frontend/dist',
target: './public/dist'
},
/**
* 预发布模式prod
* ee-bin start

View File

@@ -89,6 +89,7 @@ module.exports = (appInfo) => {
key: '/public/ssl/localhost+1.key',
cert: '/public/ssl/localhost+1.pem'
},
host: '127.0.0.1',
port: 7071,
cors: {
origin: "*"