nitro-react/index.html

36 lines
1.7 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="/favicon.ico" />
2021-11-12 06:48:16 +01:00
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" crossorigin="use-credentials" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#000000">
2022-03-15 09:43:38 +01:00
<meta name="apple-mobile-web-app-title" content="Nitro">
<meta name="application-name" content="Nitro">
<meta name="msapplication-TileColor" content="#000000">
<meta name="theme-color" content="#000000" />
2022-03-15 09:43:38 +01:00
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
2022-03-18 18:41:17 +01:00
<base href="./">
2021-06-30 05:35:05 +02:00
<title>Nitro</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
2021-04-15 08:49:56 +02:00
<div id="root" class="w-100 h-100"></div>
2021-04-14 20:24:24 +02:00
<script>
2021-12-13 06:51:06 +01:00
const NitroConfig = {
2022-03-15 20:11:57 +01:00
"config.urls": [ '/renderer-config.json', '/ui-config.json' ],
2022-03-19 05:26:57 +01:00
"sso.ticket": (new URLSearchParams(window.location.search).get('sso') || null),
"forward.type": (new URLSearchParams(window.location.search).get('room') ? 2 : -1),
"forward.id": (new URLSearchParams(window.location.search).get('room') || 0),
"friend.id": (new URLSearchParams(window.location.search).get('friend') || 0),
2021-04-14 20:24:24 +02:00
};
</script>
<script type="module" src="./src/index.tsx"></script>
</body>
</html>