Skip to content
Snippets Groups Projects
Commit b9c3439d authored by jkerdreu's avatar jkerdreu
Browse files

Fix url

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/trunk@2142 b32b6428-25c9-4566-ad07-03861ab6144f
parent 6a802286
Branches
Tags
No related merge requests found
......@@ -21,7 +21,9 @@
<script type="text/javascript">
var url=window.location.origin+"/devices";
var getUrl = window.location;
var baseUrl = getUrl.protocol + "//" + getUrl.host + "/" + getUrl.pathname.split('/')[1];
var url=baseUrl+"/devices";
$("#resturl").html("<a href="+url+">"+url+"</a>");
$("#hostname").html(window.location.hostname);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment