Skip to content

Commit

Permalink
Remove hardcoded port from version URL
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonacox committed Jan 15, 2025
1 parent b8628fe commit 19fd3b2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions proxy/web/example.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ <h2 style="color:gray;font-family:verdana;">iFrame Example</h2>
<script>
// Get Firmware Version
function showversion() {
// Get port from the URL
var port = window.location.port;
var pwver = window.location.protocol + "//" + window.location.hostname + ":" + window.location.port + "/version";
$.getJSON(pwver, function(data) {
var text = `Firmware: ${data.version}`;
Expand Down

0 comments on commit 19fd3b2

Please sign in to comment.