mirror of
https://github.com/wallace5303/ee-core.git
synced 2026-04-05 15:39:03 +08:00
bug fix
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
const path = require('path');
|
||||
const fs = require('fs');
|
||||
const assert = require('assert');
|
||||
const getPort = require('get-port');
|
||||
const {app, BrowserWindow, BrowserView, Menu} = require('electron');
|
||||
const BaseApp = require('./baseApp');
|
||||
@@ -268,8 +269,8 @@ class EeApp extends BaseApp {
|
||||
*/
|
||||
loadMainUrl (type, url) {
|
||||
const mainServer = this.config.mainServer;
|
||||
this.logger.info('[main server] env: %s, type: %s', this.config.env, type);
|
||||
this.logger.info('[main server] App running at: %s', url);
|
||||
this.logger.info('[ee-core:main] Env: %s, Type: %s', this.config.env, type);
|
||||
this.logger.info('[ee-core:main] App running at: %s', url);
|
||||
this.electron.mainWindow.loadURL(url, mainServer.options);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user