Skip to content

Commit

Permalink
robots.txt, sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
MotorTruck1221 committed Dec 4, 2024
1 parent 41c1094 commit 96a904d
Show file tree
Hide file tree
Showing 5 changed files with 443 additions and 419 deletions.
3 changes: 3 additions & 0 deletions astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { fileURLToPath } from "node:url";
import node from "@astrojs/node";
import svelte from "@astrojs/svelte";
import tailwind from "@astrojs/tailwind";
import sitemap from "@astrojs/sitemap";
import { baremuxPath } from "@mercuryworkshop/bare-mux/node";
import { epoxyPath } from "@mercuryworkshop/epoxy-transport";
import { libcurlPath } from "@mercuryworkshop/libcurl-transport";
Expand All @@ -15,6 +16,7 @@ import { parsedDoc } from "./server/config.js";
const workerwarePath = fileURLToPath(new URL("./workerware/src", import.meta.url));

export default defineConfig({
site: parsedDoc.seo.enabled ? parsedDoc.seo.domain || process.env.SITE : 'http://localhost:4321',
experimental: {
env: {
schema: {
Expand Down Expand Up @@ -44,6 +46,7 @@ export default defineConfig({
},
integrations: [
tailwind(),
sitemap(),
icon(),
svelte(),
playformCompress({
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"dependencies": {
"@astrojs/check": "^0.8.3",
"@astrojs/node": "^8.3.4",
"@astrojs/sitemap": "^3.2.1",
"@astrojs/svelte": "^5.7.3",
"@astrojs/tailwind": "^5.1.2",
"@fastify/compress": "^8.0.1",
Expand Down
Loading

0 comments on commit 96a904d

Please sign in to comment.