File tree Expand file tree Collapse file tree 4 files changed +9
-18
lines changed
src/ServiceControl/Infrastructure/WebApi Expand file tree Collapse file tree 4 files changed +9
-18
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ {
2+ "default_route" : " /dashboard" ,
3+ "version" : " 1.2.0" ,
4+ "service_control_url" : " http://localhost:33333/api/" ,
5+ "monitoring_url" : " http://localhost:33633/" ,
6+ "showPendingRetry" : true
7+ }
Original file line number Diff line number Diff line change @@ -29,16 +29,7 @@ conditionallyEnableMocking()
2929 const appConstants = await response . json ( ) ;
3030 window . defaultConfig = appConstants ;
3131 } else {
32- const devConstants = await fetch ( "js/app.constants.js" , {
33- method : "GET" ,
34- } ) ;
35- if ( devConstants . ok ) {
36- const scriptText = await devConstants . text ( ) ;
37- const script = document . createElement ( "script" ) ;
38- script . type = "text/javascript" ;
39- script . text = scriptText ;
40- document . head . appendChild ( script ) ;
41- }
32+ console . error ( "Failed to load app constants" ) ;
4233 }
4334 } )
4435 // eslint-disable-next-line promise/always-return
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ public async Task InvokeAsync(HttpContext context)
2525 {
2626 default_route = "/dashboard" ,
2727 service_control_url = "api/" ,
28- monitoring_urls = new [ ] { "http://localhost:33633/" } ,
28+ monitoring_url = "http://localhost:33633/" ,
2929 showPendingRetry = true ,
3030 version = FileVersion
3131 } ;
You can’t perform that action at this time.
0 commit comments