-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
24 lines (23 loc) · 1 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="shortcut icon" type="image/png" href="favicon.png"/>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<title>Kytos SDN Platform - Administrative Interface</title>
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.41.0/mapbox-gl.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.41.0/mapbox-gl.css' rel='stylesheet' />
</head>
<body>
<div id="app"></div>
<script>
window.kytos_server = location.protocol + "//" + location.host + "/";
window.kytos_server_api = location.protocol + "//" + location.host + "/api/";
// Load build.js with cachebuster parameter for 12 hours
const cachebuster = Math.round(new Date().getTime() / 43200000);
var el = document.createElement('script');
el.src = "/dist/build.js?v=" + cachebuster;
document.getElementsByTagName('head')[0].appendChild(el);
</script>
</body>
</html>