satish 5771b6c014
Node upgrade and migrate from webpack to vite (#23072)
* Node upgrade and migrate from webpack to vite

* fix(build): Disable sourcemaps to prevent OOM errors

* Add basePath back

---------

Co-authored-by: Satish <satish@Satishs-MacBook-Pro.local>
2025-08-25 11:37:54 +05:30

124 lines
3.5 KiB
HTML

<!--
Copyright 2022 Collate.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="msapplication-TileColor" content="#ffffff" />
<meta
name="msapplication-TileImage"
content="${basePath}favicons/ms-icon-144x144.png"
/>
<meta name="theme-color" content="#ffffff" />
<meta name="description" content="OpenMetadata Application" />
<meta property="og:title" content="OpenMetadata" />
<meta property="og:description" content="OpenMetadata Application" />
<meta
property="og:image"
content="${basePath}favicons/android-icon-192x192.png"
/>
<script>
window.BASE_PATH = '${basePath}';
</script>
<link rel="shortcut icon" href="${basePath}favicon.png" type="image/png" />
<link
rel="apple-touch-icon"
sizes="57x57"
href="${basePath}favicons/apple-icon-57x57.png"
/>
<link
rel="apple-touch-icon"
sizes="60x60"
href="${basePath}favicons/apple-icon-60x60.png"
/>
<link
rel="apple-touch-icon"
sizes="72x72"
href="${basePath}favicons/apple-icon-72x72.png"
/>
<link
rel="apple-touch-icon"
sizes="76x76"
href="${basePath}favicons/apple-icon-76x76.png"
/>
<link
rel="apple-touch-icon"
sizes="114x114"
href="${basePath}favicons/apple-icon-114x114.png"
/>
<link
rel="apple-touch-icon"
sizes="120x120"
href="${basePath}favicons/apple-icon-120x120.png"
/>
<link
rel="apple-touch-icon"
sizes="144x144"
href="${basePath}favicons/apple-icon-144x144.png"
/>
<link
rel="apple-touch-icon"
sizes="152x152"
href="${basePath}favicons/apple-icon-152x152.png"
/>
<link
rel="apple-touch-icon"
sizes="180x180"
href="${basePath}favicons/apple-icon-180x180.png"
/>
<link
rel="icon"
type="image/png"
sizes="192x192"
href="${basePath}favicons/android-icon-192x192.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="${basePath}favicons/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="96x96"
href="${basePath}favicons/favicon-96x96.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="${basePath}favicons/favicon-16x16.png"
/>
<link rel="manifest" href="${basePath}manifest.json" />
<script>
let images = ['${basePath}images/governce.png', '${basePath}images/data-collbration.png'];
images.forEach((image) => {
let img = new Image();
img.loading = 'eager';
img.src = image;
});
</script>
<title>OpenMetadata</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script type="module" src="/src/index.tsx"></script>
</body>
</html>