32 lines
822 B
HTML
32 lines
822 B
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
|
||
|
<head>
|
||
|
<meta charset="utf-8" />
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||
|
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
||
|
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
||
|
<title>agola</title>
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
<noscript>
|
||
|
<strong>We're sorry but agola doesn't work properly without JavaScript
|
||
|
enabled. Please enable it to continue.</strong>
|
||
|
</noscript>
|
||
|
<script src="/config.js" />
|
||
|
</script>
|
||
|
<script>
|
||
|
// default config if no config.js is provided
|
||
|
if (!window.CONFIG) {
|
||
|
const CONFIG = {
|
||
|
API_URL: window.location.protocol + "//" + window.location.hostname + ":8000",
|
||
|
API_BASE_PATH: "/api/v1alpha"
|
||
|
}
|
||
|
window.CONFIG = CONFIG
|
||
|
}
|
||
|
</script>
|
||
|
<div id="app"></div>
|
||
|
</body>
|
||
|
|
||
|
</html>
|