-
-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathastro.config.mjs
More file actions
40 lines (38 loc) · 1.28 KB
/
Copy pathastro.config.mjs
File metadata and controls
40 lines (38 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import vercel from '@astrojs/vercel';
import { defineConfig } from 'astro/config';
import starpod from 'starpod';
import starpodConfig from './starpod.config';
// https://astro.build/config
export default defineConfig({
output: 'static',
adapter: vercel({
imageService: true,
imagesConfig: {
formats: ['image/avif'],
minimumCacheTTL: 3600,
remotePatterns: [
{
protocol: 'https'
},
{
protocol: 'http'
}
],
sizes: [160, 320, 640, 1280]
},
webAnalytics: {
enabled: true
}
}),
site: 'https://whiskey.fm',
integrations: [starpod(starpodConfig, { database: true })],
// These were specific redirects we needed for our podcast, if you do not have any routes to redirect, you can safely remove this.
redirects: {
'/hot-takes-tan-stack-and-open-source-with-tanner-linsley':
'/hot-takes-tanstack-and-open-source-with-tanner-linsley',
'/creating-code-pen-tackling-tailwind-and-keeping-it-simple-with-chris-coyier':
'creating-codepen-tackling-tailwind-and-keeping-it-simple-with-chris-coyier',
'/coding-languages-ai-and-the-evolution-of-game-development-with-phillip-winston':
'/coding-languages-ai-and-the-evolution-of-game-development-with-philip-winston'
}
});