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

Added host

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/fork@1668 b32b6428-25c9-4566-ad07-03861ab6144f
parent ac5c2ba5
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@
<link rel=stylesheet type="text/css" href="style.css">
<body>
<h1>xAAL REST API</h1>
<h1>xAAL REST API on <span id=hostname></span></h1>
<h2>Devices</h2>
......@@ -23,7 +23,7 @@
<script type="text/javascript">
url=window.location.origin+"/devices";
$("#resturl").html("<a href="+url+">"+url+"</a>");
$("#hostname").html(window.location.hostname);
function update() {
$.getJSON("/devices", function(result){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment