This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
outline/server/static/index.html
Tom Moor c15cbd06a4 chore: Bugsnag -> Sentry (#1178)
* Bugsnag -> Sentry

* fix: Import style
2020-02-16 22:58:50 -08:00

51 lines
1.2 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<title>Outline</title>
<meta name="slack-app-id" content="<%= SLACK_APP_ID %>" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" type="image/png" href="favicon-32.png" sizes="32x32" />
<link rel="manifest" href="/manifest.json" />
<link
rel="search"
type="application/opensearchdescription+xml"
href="/opensearch.xml"
title="Outline"
/>
<style>
body,
html {
margin: 0;
padding: 0;
}
body {
display: flex;
width: 100%;
height: 100%;
}
#root {
flex: 1;
min-height: 100vh;
}
</style>
</head>
<body>
<div id="root"></div>
<script
src="https://browser.sentry-cdn.com/5.12.1/bundle.min.js"
integrity="sha384-y+an4eARFKvjzOivf/Z7JtMJhaN6b+lLQ5oFbBbUwZNNVir39cYtkjW1r6Xjbxg3"
crossorigin="anonymous"
>
</script>
<script>
Sentry.init({ dsn: '<%= SENTRY_DSN %>' });
if (window.localStorage.getItem("theme") === "dark") {
window.document.querySelector('#root').style.background = "#111319";
}
</script>
</body>
</html>