File tree Expand file tree Collapse file tree 3 files changed +1258
-1088
lines changed
src/API/Server/FrontEnd/wwwroot Expand file tree Collapse file tree 3 files changed +1258
-1088
lines changed Original file line number Diff line number Diff line change @@ -376,3 +376,5 @@ FodyWeavers.xsd
376376* .DS_Store
377377
378378/demos /Python /Vision /detected
379+ /src /AnalysisLayer /ObjectDetectionYolo /assets
380+ /src /AnalysisLayer /ObjectDetectionYolo /custom-models
Original file line number Diff line number Diff line change 6767 </ style >
6868 < script type ="text/javascript ">
6969
70- const apiServiceUrl = ( window . location . protocol || "http:" ) + "//"
71- + ( window . location . hostname || "localhost" )
72- + ":" + ( window . location . port || 32168 ) ;
73-
7470 const pingFrequency = 2000 ; // milliseconds
7571 const logFrequency = 250 ; // milliseconds
7672 const statusFrequency = 3000 ; // milliseconds
7773 const checkUpdateFrequency = 1 * 3600 * 1000 ; // 1hr in milliseconds
78-
7974 const logLinesPerRequest = 100 ; // lines to retrieve per log request
8075 const maxLogStorage = 50000 ; // characters, including HTML
8176
77+ const apiServiceProtocol = window . location . protocol ;
78+ const apiServiceHostname = window . location . hostname || "localhost" ;
79+ const apiServicePort = window . location . port === "" ? "" : ":" + ( window . location . port || 32168 ) ;
80+ const apiServiceUrl = `${ apiServiceProtocol } //${ apiServiceHostname } ${ apiServicePort } ` ;
81+
8282 let _usingGPU = false ;
8383 let _lastLogId = 0 ;
8484 let _serverIsOnline = false ;
You can’t perform that action at this time.
0 commit comments