Added official URL

This commit is contained in:
Alexis
2023-10-15 10:26:49 +02:00
parent 8e11c4c1a5
commit b6128f5525
2 changed files with 6 additions and 1 deletions

View File

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

View File

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