ibms-dome/ibms_react/public/index.html

40 lines
1.6 KiB
HTML
Raw Permalink Normal View History

2023-01-31 16:16:07 +08:00
<!DOCTYPE html>
<html lang="en">
2023-01-31 23:15:50 +08:00
<!-- @noSnoop -->
2023-01-31 16:16:07 +08:00
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
2023-01-31 23:15:50 +08:00
<meta name="description" content="Web site created using create-react-app" />
2023-01-31 16:16:07 +08:00
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
2023-01-31 23:15:50 +08:00
<title>Mitsubishi</title>
<script src="%PUBLIC_URL%/Require.js"></script>
<!-- <script type="text/javascript" src="http://220.132.206.5:8080/requirejs/config.js"></script>
<script
type="text/javascript"
src="http://220.132.206.5:8080/module/js/com/tridium/js/ext/require/require.min.js?"
></script> -->
<script>
//重新轉址 for Niagara4
var temp_cuurent_Url_pathname = window.location.pathname.split("/").slice(0, 3);
var redirectionUrl =
window.location.origin +
"/" +
temp_cuurent_Url_pathname[temp_cuurent_Url_pathname.length - 1].replace(":%5E", "/") +
"/" +
window.location.pathname.split("/").slice(3).join("/");
//判斷url是否包含"ord",如果有重新轉址
if (temp_cuurent_Url_pathname.findIndex((x) => x == "ord") > -1) {
window.location.replace(redirectionUrl.substr(0, redirectionUrl.length - 1));
}
</script>
2023-01-31 16:16:07 +08:00
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
2023-01-31 23:15:50 +08:00
<div id="model_root"></div>
2023-01-31 16:16:07 +08:00
</body>
</html>