33 lines
947 B
HTML
33 lines
947 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<!-- @if TARGET='app' -->
|
|
<title>LBRY</title>
|
|
<!-- @endif -->
|
|
<!-- @if TARGET='web' -->
|
|
<title>lbry.tv</title>
|
|
<meta property="og:url" content="https://beta.lbry.tv" />
|
|
<meta property="og:title" content="LBRY On The Web" />
|
|
<meta property="og:description" content="All your favorite LBRY content in your browser." />
|
|
<meta property="og:image" content="/og.png" />
|
|
<!-- @endif -->
|
|
</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>
|