Skip to content

Commit ff7d9e0

Browse files
committed
ensure network traffic if possible
1 parent 6bfc12d commit ff7d9e0

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

public/images/px.png

142 Bytes
Loading

src/App.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ import MainMap from './components/MainMap.vue';
55
import Sidebar from './components/Sidebar.vue';
66
import { useLoadedDimensionStore } from './stores/useLoadedDimensionStore';
77
import { useUiStore } from './stores/useUiStore';
8-
import Popup from './components/Popup.vue';
9-
import ModrinthMenu from './components/modrinth/ModrinthMenu.vue';
108
119
const loaded = ref(false)
1210
@@ -30,6 +28,7 @@ onBeforeMount(async () => {
3028
</div>
3129
<div class="layout loading" v-else>
3230
<p>Loading...</p>
31+
<img :src="`/images/px.png?t=${Date.now()}`" alt="" width="1" height="1" style="display:none" />
3332
</div>
3433
</template>
3534

vite.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ export default defineConfig({
1717
workbox: {
1818
globPatterns: ['**/*.{js,css,html,svg,png,zip,txt,webp,jar}'],
1919
maximumFileSizeToCacheInBytes: 2e+9, // 2 GB
20+
globIgnores: [
21+
'images/px.png'
22+
],
2023
runtimeCaching: [
2124
// structure icons from mcicons
2225
{

0 commit comments

Comments
 (0)