Use relative paths for assets
This commit is contained in:
parent
c2b4218023
commit
cd665fa5f4
@ -171,7 +171,7 @@
|
|||||||
</noscript>
|
</noscript>
|
||||||
|
|
||||||
<div id="mcmap" class="dynmap"></div>
|
<div id="mcmap" class="dynmap"></div>
|
||||||
<script src="/standalone/config.js"></script>
|
<script src="./standalone/config.js"></script>
|
||||||
<script type="module" src="/src/main.ts"></script>
|
<script type="module" src="/src/main.ts"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -7,6 +7,7 @@ export default defineConfig({
|
|||||||
plugins: [vue(), svgSpritePlugin({
|
plugins: [vue(), svgSpritePlugin({
|
||||||
symbolId: (name) => name,
|
symbolId: (name) => name,
|
||||||
})],
|
})],
|
||||||
|
base: './',
|
||||||
server: {
|
server: {
|
||||||
port: 8080
|
port: 8080
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user