Skip to content

Commit

Permalink
Merge pull request mrWheel#27 from DJFliX/master
Browse files Browse the repository at this point in the history
Allow DSMR UI to be reverse proxied
  • Loading branch information
mrWheel authored Oct 18, 2020
2 parents a55e5f5 + ecb0ddc commit c96cf4d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/DSMRindex.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
** TERMS OF USE: MIT License. See bottom of file.
***************************************************************************
*/
const APIGW='http://'+window.location.host+'/api/';
const APIGW=window.location.protocol+'//'+window.location.host+'/api/';

"use strict";

Expand Down
2 changes: 1 addition & 1 deletion data/hjm.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const APIGW='http://'+window.location.host+'/api/';
const APIGW=window.location.protocol+'//'+window.location.host+'/api/';
const AMPS=25
const PHASES=3

Expand Down
2 changes: 1 addition & 1 deletion edge/DSMRindex.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
** TERMS OF USE: MIT License. See bottom of file.
***************************************************************************
*/
const APIGW='http://'+window.location.host+'/api/';
const APIGW=window.location.protocol+'//'+window.location.host+'/api/';

"use strict";

Expand Down

0 comments on commit c96cf4d

Please sign in to comment.