File tree Expand file tree Collapse file tree
PocketDDD.BlazorClient/PocketDDD.BlazorClient/wwwroot Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
2- "apiUrl" : " https://localhost:7069 /api/" ,
2+ "apiUrl" : " https://dddsw2023pocketdddserverwebapitest.azurewebsites.net /api/" ,
33 "fakeBackend" : false
44}
Original file line number Diff line number Diff line change 2121 < a class ="dismiss "> 🗙</ a >
2222 </ div >
2323 < script src ="_framework/blazor.webassembly.js " autostart ="false "> </ script >
24- < script >
25- if ( window . location . hostname . includes ( "localhost" ) || window . location . hostname . includes ( "development" ) ) {
26- Blazor . start ( {
27- environment : "Development"
28- } ) ;
29- } else {
30- Blazor . start ( {
31- environment : "Production"
32- } ) ;
33- }
34- </ script >
24+ < script >
25+ if ( window . location . hostname . includes ( "localhost" ) || window . location . hostname . includes ( "development" ) ) {
26+ Blazor . start ( {
27+ environment : "Development"
28+ } ) ;
29+ } else if ( window . location . hostname . includes ( "test" ) ) {
30+ Blazor . start ( {
31+ environment : "Test"
32+ } ) ;
33+ } else {
34+ Blazor . start ( {
35+ environment : "Production"
36+ } ) ;
37+ }
38+ </ script >
3539
3640 < script src ="_content/MudBlazor/MudBlazor.min.js "> </ script >
3741 < script > navigator . serviceWorker . register ( 'service-worker.js' ) ; </ script >
You can’t perform that action at this time.
0 commit comments