Fix BIM share asset paths
This commit is contained in:
parent
99ee210ffc
commit
1a6fa9e898
|
|
@ -4,12 +4,12 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>BIM DC Viewer</title>
|
<title>BIM DC Viewer</title>
|
||||||
<link rel="icon" href="./assets/logo.svg">
|
<link rel="icon" href="/assets/logo.svg">
|
||||||
<style id="preload-hidden">body{opacity:0;}</style>
|
<style id="preload-hidden">body{opacity:0;}</style>
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700&display=swap">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700&display=swap">
|
||||||
<script src="./theme.js?v=2"></script>
|
<script src="/theme.js?v=2"></script>
|
||||||
<script>
|
<script>
|
||||||
// Apply persisted theme ASAP to avoid initial flash of defaults
|
// Apply persisted theme ASAP to avoid initial flash of defaults
|
||||||
(function () {
|
(function () {
|
||||||
|
|
@ -203,7 +203,7 @@
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700&display=swap" rel="stylesheet">
|
||||||
<link rel="stylesheet" href="./dcViewer.css?v=36">
|
<link rel="stylesheet" href="/dcViewer.css?v=36">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
|
|
@ -641,6 +641,6 @@
|
||||||
<input id="fileInput" class="hidden" type="file"
|
<input id="fileInput" class="hidden" type="file"
|
||||||
accept=".xkt,.glb,.gltf,.bim,.las,.laz,.obj,.stl">
|
accept=".xkt,.glb,.gltf,.bim,.las,.laz,.obj,.stl">
|
||||||
|
|
||||||
<script type="module" src="./dcViewer.js?v=50"></script>
|
<script type="module" src="/dcViewer.js?v=50"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ export function createLogo({
|
||||||
aspect = 4, // соотношение width / height контейнера
|
aspect = 4, // соотношение width / height контейнера
|
||||||
offsetY = 0,
|
offsetY = 0,
|
||||||
paddingX = 0,
|
paddingX = 0,
|
||||||
imageUrl = "./assets/logo.svg",
|
imageUrl = "/assets/logo.svg",
|
||||||
} = {}) {
|
} = {}) {
|
||||||
const wrapper = document.createElement("div");
|
const wrapper = document.createElement("div");
|
||||||
wrapper.className = "ue-logo";
|
wrapper.className = "ue-logo";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue