Skip to content

Commit

Permalink
ui: fixed ntopng web interface url (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
andre8244 committed Jul 3, 2020
1 parent d60a50a commit f69716b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/views/Dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ export default {
context.config.status = props.status === "enabled";
context.config.port = parseInt(props.TCPPort);
context.ntopngUrl =
"http://" + window.location.hostname + ":980/" + props.alias;
window.location.protocol + "//" + window.location.hostname + ":980/" + props.alias;
if (context.config.status) {
context.initTables();
Expand Down

0 comments on commit f69716b

Please sign in to comment.