electron/config/config.prod.js
@@ -21,7 +21,20 @@ */ config.jobs = { messageLog: false }; }; /** * 主进程 */ config.mainServer = { protocol: 'file://', indexPath: '/public/dist/index.html', port:7072, ssl:{ key: '/public/ssl.localhost+1.key', cert: '/public/ssl.localhost+1.pem' } }; return { ...config