-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathastro.config.mjs
38 lines (37 loc) · 878 Bytes
/
astro.config.mjs
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
import { defineConfig } from "astro/config";
import tailwind from "@astrojs/tailwind";
import robotsTxt from "astro-robots-txt";
import sitemap from "@astrojs/sitemap";
import icon from "astro-icon";
import metaTags from "astro-meta-tags";
// https://astro.build/config
export default defineConfig({
site: "https://openstove.org",
prefetch: true,
integrations: [tailwind(), robotsTxt({
policy: [{
userAgent: 'Googlebot',
allow: '/',
disallow: '',
crawlDelay: 10
}, {
userAgent: 'Yandex',
allow: '/',
disallow: '',
crawlDelay: 2
}, {
userAgent: 'archive.org_bot',
allow: '/',
disallow: '',
crawlDelay: 2
}, {
userAgent: '*',
allow: '',
disallow: '/'
}]
}), sitemap(), icon(), metaTags()],
output: 'server',
experimental: {
clientPrerender: true
}
});