feat: bump electron (#14151)

This commit is contained in:
DarkSky
2025-12-26 09:41:16 +08:00
committed by GitHub
parent 2e38898937
commit ca386283c5
15 changed files with 203 additions and 87 deletions

View File

@@ -115,7 +115,9 @@ const defaultDevServerConfig: DevServerConfiguration = {
overlay: process.env.DISABLE_DEV_OVERLAY === 'true' ? false : undefined,
logging: process.env.CI ? 'none' : 'error',
// see: https://webpack.js.org/configuration/dev-server/#websocketurl
webSocketURL: 'auto://0.0.0.0:8080/ws',
// must be an explicit ws/wss URL because custom protocols (e.g. assets://)
// cannot be used to construct WebSocket endpoints in Electron
webSocketURL: 'ws://0.0.0.0:8080/ws',
},
historyApiFallback: {
rewrites: [