Skip to content

Commit

Permalink
enable web analytics and disable image service
Browse files Browse the repository at this point in the history
  • Loading branch information
iswilljr committed Jun 5, 2024
1 parent 02bb53d commit c3f058a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 2 additions & 4 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ import vercel from '@astrojs/vercel/serverless'
export default defineConfig({
output: 'server',
adapter: vercel({
imageService: process.env.VERCEL != null,
imagesConfig: {
domains: ['image.tmdb.org'],
sizes: [45, 300, 720, 780, 1280],
webAnalytics: {
enabled: true,
},
}),
integrations: [tailwind(), preact()],
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"tmdb-ts": "1.8.0"
},
"devDependencies": {
"@vercel/analytics": "1.3.1",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-config-standard-with-typescript": "43.0.1",
Expand Down
5 changes: 3 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c3f058a

Please sign in to comment.