Skip to content

Commit

Permalink
Merge pull request #349 from GSA/mmeyer/set-site-config
Browse files Browse the repository at this point in the history
This sets the astro site config (used primarily for the xml sitemap) …
  • Loading branch information
mark-meyer authored Oct 5, 2023
2 parents 63b5115 + e53271e commit 08b38e4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import sitemapFilter from "./src/config/sitemapFilter";

// https://astro.build/config
export default defineConfig({
site: 'https://demo.smartpay.gsa.gov/',
site: 'https://smartpay.gsa.gov/',
base: process.env.BASEURL,
integrations: [mdx(), sitemap({ filter: sitemapFilter })],
outDir: '_site',
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"federalist": "astro build",
"serve": "npm run build && npm run preview -- --port 8080",
"pa11y-ci": "npm run pa11y-ci:desktop && npm run pa11y-ci:mobile",
"pa11y-ci:desktop": "pa11y-ci --config ./.pa11yci-desktop --sitemap http://localhost:8080/sitemap-0.xml --sitemap-find \"^https://demo.smartpay.gsa.gov/\" --sitemap-replace \"http://localhost:8080/\"",
"pa11y-ci:mobile": "pa11y-ci --config ./.pa11yci-mobile --sitemap http://localhost:8080/sitemap-0.xml --sitemap-find \"^https://demo.smartpay.gsa.gov/\" --sitemap-replace \"http://localhost:8080/\"",
"pa11y-ci:desktop": "pa11y-ci --config ./.pa11yci-desktop --sitemap http://localhost:8080/sitemap-0.xml --sitemap-find \"^https://smartpay.gsa.gov/\" --sitemap-replace \"http://localhost:8080/\"",
"pa11y-ci:mobile": "pa11y-ci --config ./.pa11yci-mobile --sitemap http://localhost:8080/sitemap-0.xml --sitemap-find \"^https://smartpay.gsa.gov/\" --sitemap-replace \"http://localhost:8080/\"",
"pa11y-ci:gh": "npx start-server-and-test serve http://localhost:8080 pa11y-ci",
"links:internal": "npx start-server-and-test serve http://localhost:8080 'blc -e -r http://localhost:8080'",
"links:external": "npx start-server-and-test serve http://localhost:8080 'blc -i -r http://localhost:8080'",
Expand Down
2 changes: 1 addition & 1 deletion public/robots.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
User-agent: *
Allow: /

Sitemap: https://demo.smartpay.gsa.gov/sitemap-index.xml
Sitemap: https://smartpay.gsa.gov/sitemap-index.xml

0 comments on commit 08b38e4

Please sign in to comment.