Removed nanostore logic

This module was way too cumbersome for such a simple implementation ; now the resources are just plain json loaded in astro instead of full on API routes.
This also eliminates the need to have a backend service to serve the API and the app can be deployed statically
This commit is contained in:
Alexis
2023-12-08 14:01:59 +01:00
parent 888d08c545
commit db69bd7e6f
18 changed files with 640 additions and 697 deletions

View File

@@ -1,14 +1,10 @@
import { defineConfig } from 'astro/config';
import nodeJs from '@astrojs/node';
import vue from "@astrojs/vue";
// https://astro.build/config
export default defineConfig({
integrations: [vue()],
output: 'server',
adapter: nodeJs({
mode: 'standalone'
}),
output: 'static',
site: 'https://maps.alexcreates.fr'
});