Test with localhost setup

This commit is contained in:
Alexis
2023-10-15 10:04:43 +02:00
parent 97573efc37
commit 0825d04b8f
2 changed files with 1 additions and 6 deletions

View File

@@ -10,5 +10,4 @@ export default defineConfig({
adapter: nodeJs({ adapter: nodeJs({
mode: 'standalone' mode: 'standalone'
}), }),
site: 'https://maps.alexcreates.fr'
}); });

View File

@@ -5,11 +5,7 @@ let baseUrl: string
const isDev = import.meta.env.DEV; const isDev = import.meta.env.DEV;
if (isDev) { baseUrl = "http://localhost:4321/"
baseUrl = "http://localhost:4321/"
} else {
baseUrl = import.meta.env.SITE
}
export const $world = deepMap({ export const $world = deepMap({
markers: [] as MapMarker[], markers: [] as MapMarker[],