Skip to content

Commit

Permalink
Enable vercel analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
lilith committed Apr 2, 2023
1 parent 84d6d96 commit 31b6250
Show file tree
Hide file tree
Showing 3 changed files with 570 additions and 2 deletions.
7 changes: 5 additions & 2 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import preact from '@astrojs/preact';
import react from '@astrojs/react';
import sitemap from "@astrojs/sitemap";
import astroI18next from "astro-i18next";
import vercel from '@astrojs/vercel/static';


// https://astro.build/config
Expand All @@ -21,5 +22,7 @@ export default defineConfig({
}),
astroI18next()
],
site: SITE.address
});
site: SITE.address,
output: 'static',
adapter: vercel({analytics: true})
});
Loading

0 comments on commit 31b6250

Please sign in to comment.