mirror of
https://gitee.com/dromara/electron-egg.git
synced 2026-05-14 19:52:10 +08:00
bin
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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: "*"
|
||||
|
||||
Reference in New Issue
Block a user