mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-26 15:40:51 +01:00
27 lines
1020 B
HTML
27 lines
1020 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
|
|
<meta name="theme-color" content="#000000" />
|
|
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
|
|
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
|
<title>Nitro</title>
|
|
</head>
|
|
<body>
|
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
<div id="root" class="w-100 h-100"></div>
|
|
<script>
|
|
const NitroConfig = {
|
|
"config.urls": ("%REACT_APP_CONFIG_URLS%").split(','),
|
|
"sso.ticket": (new URLSearchParams(window.location.search).get('sso') || null),
|
|
"socket.url": "%REACT_APP_SOCKET_URL%",
|
|
"asset.url": "%REACT_APP_ASSET_URL%",
|
|
"image.library.url": "%REACT_APP_IMAGE_LIBRARY_URL%",
|
|
"hof.furni.url": "%REACT_APP_HOF_FURNI_URL%"
|
|
};
|
|
</script>
|
|
</body>
|
|
</html>
|