lbry-desktop/static/index.html
2019-04-04 17:05:23 -04:00

24 lines
554 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>lbry.tv</title>
</head>
<body>
<div id="app"></div>
<script type="text/javascript">
// Use relative path if we are in electron
let src = 'ui.js';
const userAgent = navigator.userAgent.toLowerCase();
if (userAgent.indexOf('electron') === -1) {
src = `/${src}`;
}
const script = document.createElement('script');
script.setAttribute('src', src);
document.body.appendChild(script);
</script>
</body>
</html>