alertmanager/ui/app/index.html

21 lines
763 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Alertmanager</title>
</head>
<body>
<script>
//If there is no trailing slash at the end of the path in the url,
// add one. This ensures assets like script.js` are loaded properly
if (window.location.pathname.endsWith('/') === false) {
window.location.pathname = window.location.pathname + '/';
console.log('added slash');
}
</script>
<script src="script.js"></script>
<script>Elm.Main.embed(document.body, { production: true })</script>
</body>
</html>