mirror of
https://github.com/Coldsmiles/infstarweb.git
synced 2026-04-22 18:20:43 +08:00
feat: 更新地图链接为新的服务器地址
This commit is contained in:
@@ -132,7 +132,7 @@ applyTo: "src/**/*.vue, src/**/*.js, src/**/*.css, vite.config.js, package.json,
|
||||
- independent type and dimension filters
|
||||
- facility card layout and status indicator styles
|
||||
- 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
|
||||
- Bilibili video block rendering in instructions and notes
|
||||
- direct link behavior that auto-opens the correct facility modal
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link rel="preconnect" href="https://img.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 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" />
|
||||
|
||||
@@ -121,7 +121,7 @@ function getMapUrl(item) {
|
||||
if (!item.coordinates) return '#';
|
||||
const c = item.coordinates;
|
||||
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) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<iframe
|
||||
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"
|
||||
allowfullscreen
|
||||
></iframe>
|
||||
|
||||
@@ -151,7 +151,7 @@ function getMapUrl(item) {
|
||||
const c = item.coordinates;
|
||||
const d = item.dimension || 'overworld';
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user