Skip to content

Commit

Permalink
Default is now contact
Browse files Browse the repository at this point in the history
  • Loading branch information
budcribar committed Feb 18, 2024
1 parent 8bdaa37 commit 63c70fa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/RemoteWebViewService/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"RemoteWebViewService": {
"commandName": "Project",
"launchBrowser": true,
"launchUrl": "https://localhost:5001/test",
"launchUrl": "https://localhost:5001/",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
Expand Down
4 changes: 2 additions & 2 deletions src/RemoteWebViewService/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
endpoints.MapGet("/status/{id:guid}", Status()).ConditionallyRequireAuthorization();
endpoints.MapGet("/grpcbaseuri", GrpcBaseUri()).ConditionallyRequireAuthorization();
endpoints.MapGet("/wait/{id:guid}", Wait()).ConditionallyRequireAuthorization();
endpoints.MapGet("/test", Version());
endpoints.MapGet("/", Contact());
endpoints.MapFallbackToFile("index.html");
});
}
Expand Down Expand Up @@ -335,7 +335,7 @@ private RequestDelegate GrpcBaseUri()
};
}

private RequestDelegate Version()
private RequestDelegate Contact()
{
return async context =>
{
Expand Down
8 changes: 0 additions & 8 deletions src/RemoteWebViewService/TODO.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
1. WebView.NavigateToUrl http://app/
-> (Startup.cs endpoints.MapGet("/app", async context => can we server the index.html here and avoid the hack to NavigateTo("/")?

3. Do a diff on the blazor.desktop.js and the remote.blazor.desktop.js


Don't let showmessage do anything until it has been connected.

Expand Down Expand Up @@ -44,15 +42,9 @@ Both the server and the Restarted app need to know when id has been restarted
Race is __bwv:["EndInvokeJS",9,false,"[9,false,\"JS object instance with ID 1 does not exist (has it been disposed?).\\nError: JS object instance with ID 1 does not exist (has it been disposed?).\\n at E (https://server.remoteblazorwebview.com/4e955d73-84b4-4f87-89f0-3b4885ff86a9/_framework/blazor.webview.js:1:340506)\\n at https://server.remoteblazorwebview.com/4e955d73-84b4-4f87-89f0-3b4885ff86a9/_framework/blazor.webview.js:1:341372\\n at new Promise (<anonymous>)\\n at beginInvokeJSFromDotNet (https://server.remoteblazorwebview.com/4e955d73-84b4-4f87-89f0-3b4885ff86a9/_framework/blazor.webview.js:1:341353)\\n at https://server.remoteblazorwebview.com/4e955d73-84b4-4f87-89f0-3b4885ff86a9/_framework/blazor.webview.js:1:380613\\n at onMessage (https://server.remoteblazorwebview.com/4e955d73-84b4-4f87-89f0-3b4885ff86a9/_framework/blazor.webview.js:1:380634)\\n at https://server.remoteblazorwebview.com/4e955d73-84b4-4f87-89f0-3b4885ff86a9/_framework/blazor.webview.js:1:11656\\n at Array.forEach (<anonymous>)\\n at e.rawOnMessage (https://server.remoteblazorwebview.com/4e955d73-84b4-4f87-89f0-3b4885ff86a9/_framework/blazor.webview.js:1:11618)\\n at https://server.remoteblazorwebview.com/4e955d73-84b4-4f87-89f0-3b4885ff86a9/_framework/blazor.webview.js:1:9425\"]"]"Lhttps://server.remoteblazorwebview.com/4e955d73-84b4-4f87-89f0-3b4885ff86a9/*$b86d7c78-afda-4d33-b451-ae7d3ae9f94dbetween the Refreshed client waiting to create entry into dictionary and AckRestart waiting for id to be removed


1. Update certificate programatically

2. Find bug in BeginInvokeJS error
Receive:__bwv:["BeginInvokeJS",3,"import","[\u0022/_content/HPI.SharedComponents/js/main-layout-funcs.js\u0022]",1,0]

3. Add authorization on mirror endpoint




Receive:__bwv:["BeginInvokeJS",2,"Blazor._internal.attachWebRendererInterop","[0,{\u0022__dotNetObject\u0022:1},{},{}]",3,0]
Receive:__bwv:["BeginInvokeJS",2,"Blazor._internal.attachWebRendererInterop","[0,{\u0022__dotNetObject\u0022:1},{},{}]",3,0]
Expand Down

0 comments on commit 63c70fa

Please sign in to comment.