feat: 更新地图链接为新的服务器地址

This commit is contained in:
Coldsmiles
2026-04-07 02:36:17 +08:00
parent 4d228f7e61
commit a3a4bbe50d
5 changed files with 5 additions and 5 deletions

View File

@@ -132,7 +132,7 @@ applyTo: "src/**/*.vue, src/**/*.js, src/**/*.css, vite.config.js, package.json,
- independent type and dimension filters - independent type and dimension filters
- facility card layout and status indicator styles - facility card layout and status indicator styles
- detail modal content sections - detail modal content sections
- map link format to `http://202.189.7.160:50222/` - map link format to `https://map.infstar.cn/`
- contributor avatar tags from Minotar - contributor avatar tags from Minotar
- Bilibili video block rendering in instructions and notes - Bilibili video block rendering in instructions and notes
- direct link behavior that auto-opens the correct facility modal - direct link behavior that auto-opens the correct facility modal

View File

@@ -42,7 +42,7 @@
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="preconnect" href="https://img.lunadeer.cn" /> <link rel="preconnect" href="https://img.lunadeer.cn" />
<link rel="dns-prefetch" href="https://outline.lunadeer.cn" /> <link rel="dns-prefetch" href="https://outline.lunadeer.cn" />
<link rel="dns-prefetch" href="http://202.189.7.160:50222" /> <link rel="dns-prefetch" href="https://map.infstar.cn" />
<link rel="dns-prefetch" href="https://mcphoto.infstar.cn" /> <link rel="dns-prefetch" href="https://mcphoto.infstar.cn" />
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&family=Inter:wght@400;600;800&display=swap" rel="stylesheet" /> <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&family=Inter:wght@400;600;800&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" />

View File

@@ -121,7 +121,7 @@ function getMapUrl(item) {
if (!item.coordinates) return '#'; if (!item.coordinates) return '#';
const c = item.coordinates; const c = item.coordinates;
const world = item.dimension === 'nether' ? 'world_nether' : item.dimension === 'end' ? 'world_the_end' : 'world'; const world = item.dimension === 'nether' ? 'world_nether' : item.dimension === 'end' ? 'world_the_end' : 'world';
return `http://202.189.7.160:50222/#${world}:${c.x}:${c.y}:${c.z}:500:0:0:0:1:flat`; return `https://map.infstar.cn/#${world}:${c.x}:${c.y}:${c.z}:500:0:0:0:1:flat`;
} }
function parseBV(input) { function parseBV(input) {

View File

@@ -1,7 +1,7 @@
<template> <template>
<iframe <iframe
class="iframe-fullpage" class="iframe-fullpage"
src="http://202.189.7.160:50222/#world:0:0:0:500:0:0:0:1:flat" src="https://map.infstar.cn/#world:0:0:0:500:0:0:0:1:flat"
frameborder="0" frameborder="0"
allowfullscreen allowfullscreen
></iframe> ></iframe>

View File

@@ -151,7 +151,7 @@ function getMapUrl(item) {
const c = item.coordinates; const c = item.coordinates;
const d = item.dimension || 'overworld'; const d = item.dimension || 'overworld';
const world = d === 'nether' ? 'world_nether' : d === 'the_end' ? 'world_the_end' : 'world'; const world = d === 'nether' ? 'world_nether' : d === 'the_end' ? 'world_the_end' : 'world';
return `http://202.189.7.160:50222/#${world}:${c.x}:${c.y}:${c.z}:500:0:0:0:1:flat`; return `https://map.infstar.cn/#${world}:${c.x}:${c.y}:${c.z}:500:0:0:0:1:flat`;
} }
function parseBV(input) { function parseBV(input) {