mirror of
https://github.com/jiangteng2019/satellite-track.git
synced 2025-06-16 23:08:18 +00:00
bugfix(SatelliteTrack): 修复部署路径问题
This commit is contained in:
parent
0e1f9d390f
commit
56b56f370a
File diff suppressed because one or more lines are too long
@ -3,11 +3,11 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<link rel="icon" href="/satellite-track/favicon.ico">
|
<link rel="icon" href="/favicon.ico">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>satellite-track</title>
|
<title>satellite-track</title>
|
||||||
<script type="module" crossorigin src="/satellite-track/assets/index-b7d17c9e.js"></script>
|
<script type="module" crossorigin src="/assets/index-810f60a7.js"></script>
|
||||||
<link rel="stylesheet" href="/satellite-track/assets/index-c712abd4.css">
|
<link rel="stylesheet" href="/assets/index-c712abd4.css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -62,7 +62,7 @@ import { specialSatellite, weatherSatellite, communicationSatellite, navigationS
|
|||||||
let allSatellite = [...specialSatellite, ...weatherSatellite, ...communicationSatellite, ...navigationSatellite, ...scientificSatellite, ...miscellaneousSatellite];
|
let allSatellite = [...specialSatellite, ...weatherSatellite, ...communicationSatellite, ...navigationSatellite, ...scientificSatellite, ...miscellaneousSatellite];
|
||||||
|
|
||||||
|
|
||||||
window.CESIUM_BASE_URL = import.meta.env.MODE === 'development' ? '/cesium' : '/satellite-track/cesium';
|
window.CESIUM_BASE_URL = import.meta.env.MODE === 'development' ? '/cesium' : '/cesium';
|
||||||
|
|
||||||
let viewer;
|
let viewer;
|
||||||
const totalSeconds = 86400;
|
const totalSeconds = 86400;
|
||||||
|
@ -26,6 +26,5 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
outDir: "docs"
|
outDir: "docs"
|
||||||
},
|
}
|
||||||
base: "/satellite-track/"
|
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user