@@ -66,7 +66,7 @@ const closeOnLinux = (e, win, store) => {
6666 win . hide ( ) ; //调用 最小化实例方法
6767 } else if ( result . response === 1 ) {
6868 win = null ;
69- app . exit ( ) ; // exit()直接关闭客户端,不会执行quit();
69+ app . exit ( ) ; //exit()直接关闭客户端,不会执行quit();
7070 }
7171 } )
7272 . catch ( err => {
@@ -153,7 +153,7 @@ class Background {
153153
154154 const expressApp = express ( ) ;
155155 expressApp . use ( '/' , express . static ( __dirname + '/' ) ) ;
156- expressApp . use ( '/api' , expressProxy ( 'http://127.0.0.1:35216 ' ) ) ;
156+ expressApp . use ( '/api' , expressProxy ( 'http://127.0.0.1:10754 ' ) ) ;
157157 expressApp . use ( '/player' , ( req , res ) => {
158158 this . window . webContents
159159 . executeJavaScript ( 'window.yesplaymusic.player' )
@@ -166,7 +166,7 @@ class Background {
166166 } ) ;
167167 } ) ;
168168 } ) ;
169- this . expressApp = expressApp . listen ( 41342 , '127.0.0.1' ) ;
169+ this . expressApp = expressApp . listen ( 27232 , '127.0.0.1' ) ;
170170 }
171171
172172 createWindow ( ) {
@@ -257,8 +257,8 @@ class Background {
257257 createProtocol ( 'app' ) ;
258258 this . window . loadURL (
259259 showLibraryDefault
260- ? 'http://localhost:41342 /#/library'
261- : 'http://localhost:41342 '
260+ ? 'http://localhost:27232 /#/library'
261+ : 'http://localhost:27232 '
262262 ) ;
263263 }
264264 }
0 commit comments