Use relative paths for assets

This commit is contained in:
James Lyne 2021-05-16 00:08:37 +01:00
parent c2b4218023
commit cd665fa5f4
2 changed files with 2 additions and 1 deletions

View File

@ -171,7 +171,7 @@
</noscript>
<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>
</body>
</html>

View File

@ -7,6 +7,7 @@ export default defineConfig({
plugins: [vue(), svgSpritePlugin({
symbolId: (name) => name,
})],
base: './',
server: {
port: 8080
},