Refine mobile layout and PWA paths
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
export async function loadManagedStations(): Promise<unknown[]> {
|
||||
const response = await fetch('/stations.json');
|
||||
const response = await fetch(`${import.meta.env.BASE_URL}stations.json`);
|
||||
|
||||
if (!response.ok) {
|
||||
throw new Error(`Failed to load managed stations: ${response.status}`);
|
||||
|
||||
Reference in New Issue
Block a user