File tree Expand file tree Collapse file tree
src/ElectronNET.WebApp/Controllers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ public IActionResult Index()
1212 {
1313 Electron . IpcMain . On ( "process-crash" , async ( args ) =>
1414 {
15- string viewPath = $ "http://localhost:{ BridgeSettings . WebPort } /crashhang/processcrash";
15+ string viewPath = $ "http://localhost:{ ElectronNetRuntime . AspNetWebPort } /crashhang/processcrash";
1616
1717 var browserWindow = await Electron . WindowManager . CreateWindowAsync ( viewPath ) ;
1818 browserWindow . WebContents . OnCrashed += async ( killed ) =>
@@ -38,7 +38,7 @@ public IActionResult Index()
3838
3939 Electron . IpcMain . On ( "process-hang" , async ( args ) =>
4040 {
41- string viewPath = $ "http://localhost:{ BridgeSettings . WebPort } /crashhang/processhang";
41+ string viewPath = $ "http://localhost:{ ElectronNetRuntime . AspNetWebPort } /crashhang/processhang";
4242
4343 var browserWindow = await Electron . WindowManager . CreateWindowAsync ( viewPath ) ;
4444 browserWindow . OnUnresponsive += async ( ) =>
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public IActionResult Index()
2727
2828 Electron . IpcMain . On ( "error-dialog" , ( args ) =>
2929 {
30- Electron . Dialog . ShowErrorBox ( "An Error Message" , "Demonstrating an error message." ) ;
30+ Electron . Dialog . ShowErrorBox ( "An Error Message" , "Demonstrating a really great message." ) ;
3131 } ) ;
3232
3333 Electron . IpcMain . On ( "information-dialog" , async ( args ) =>
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ public IActionResult Index()
1111 {
1212 if ( HybridSupport . IsElectronActive )
1313 {
14- string viewPath = $ "http://localhost:{ BridgeSettings . WebPort } /windows/demowindow";
14+ string viewPath = $ "http://localhost:{ ElectronNetRuntime . AspNetWebPort } /windows/demowindow";
1515
1616 Electron . IpcMain . On ( "new-window" , async ( args ) =>
1717 {
You can’t perform that action at this time.
0 commit comments