diff --git a/.cz.json b/.cz.json index 18f9e191b..8272d34a9 100644 --- a/.cz.json +++ b/.cz.json @@ -1,7 +1,7 @@ { "commitizen": { "name": "cz_customize", - "version": "3.14.3", + "version": "3.14.4", "gpg_sign": true, "tag_format": "$major.$minor.$patch$prerelease", "version_type": "semver", diff --git a/.github/workflows/bd-fe.yml b/.github/workflows/bd-fe.yml index 5dffe8b24..f42d13c9b 100644 --- a/.github/workflows/bd-fe.yml +++ b/.github/workflows/bd-fe.yml @@ -157,7 +157,14 @@ jobs: - name: 🤖 Robots if: ${{ inputs.env == 'prd' }} run: | + robots=front/build/robots.txt sed -i 's/^Disallow\: \/$/Allow\: \//' front/build/robots.txt + echo "" >>$robots + echo "" >>$robots + echo "User-agent: Googlebot" >>$robots + echo "Allow: /s/" >>$robots + echo "" >>$robots + echo "Sitemap: https://www.dgrebb.com/sitemap.xml" >>$robots - name: ↕ Sync S3 uses: jakejarvis/s3-sync-action@master diff --git a/CHANGELOG.md b/CHANGELOG.md index 294de3f06..c242ba26b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. +## [3.14.4] - 2024-01-04 + +### 🐛 Bug Fixes + +- ***(front)*** Adds sitemap.xml to robots.txt (#1120) +- ***(front)*** Moves disallow / rule to top of robots.txt + ## [3.14.3] - 2024-01-01 ### ♻️ Refactor diff --git a/_ci/backstop/bd/bitmaps_reference/gh-prd/GithubPRD_CV_0_document_0_xs.png b/_ci/backstop/bd/bitmaps_reference/gh-prd/GithubPRD_CV_0_document_0_xs.png index 7e784fb33..8e3455278 100644 Binary files a/_ci/backstop/bd/bitmaps_reference/gh-prd/GithubPRD_CV_0_document_0_xs.png and b/_ci/backstop/bd/bitmaps_reference/gh-prd/GithubPRD_CV_0_document_0_xs.png differ diff --git a/_ci/backstop/bd/bitmaps_reference/gh-prd/GithubPRD_CV_0_document_2_md.png b/_ci/backstop/bd/bitmaps_reference/gh-prd/GithubPRD_CV_0_document_2_md.png index 6d9fcee04..893924f38 100644 Binary files a/_ci/backstop/bd/bitmaps_reference/gh-prd/GithubPRD_CV_0_document_2_md.png and b/_ci/backstop/bd/bitmaps_reference/gh-prd/GithubPRD_CV_0_document_2_md.png differ diff --git a/_ci/backstop/bd/bitmaps_reference/gh-prd/GithubPRD_CV_0_document_3_lg.png b/_ci/backstop/bd/bitmaps_reference/gh-prd/GithubPRD_CV_0_document_3_lg.png index 9ab684b36..4d6e29ace 100644 Binary files a/_ci/backstop/bd/bitmaps_reference/gh-prd/GithubPRD_CV_0_document_3_lg.png and b/_ci/backstop/bd/bitmaps_reference/gh-prd/GithubPRD_CV_0_document_3_lg.png differ diff --git a/_ci/backstop/bd/bitmaps_reference/gh-prd/GithubPRD_CV_0_document_4_xl.png b/_ci/backstop/bd/bitmaps_reference/gh-prd/GithubPRD_CV_0_document_4_xl.png index 228e38b2c..241bf73fb 100644 Binary files a/_ci/backstop/bd/bitmaps_reference/gh-prd/GithubPRD_CV_0_document_4_xl.png and b/_ci/backstop/bd/bitmaps_reference/gh-prd/GithubPRD_CV_0_document_4_xl.png differ diff --git a/_ci/backstop/bd/bitmaps_reference/gh-prd/GithubPRD_CV_0_document_5_2xl.png b/_ci/backstop/bd/bitmaps_reference/gh-prd/GithubPRD_CV_0_document_5_2xl.png index f5ce46a11..8a74b98ad 100644 Binary files a/_ci/backstop/bd/bitmaps_reference/gh-prd/GithubPRD_CV_0_document_5_2xl.png and b/_ci/backstop/bd/bitmaps_reference/gh-prd/GithubPRD_CV_0_document_5_2xl.png differ diff --git a/_ci/backstop/bd/bitmaps_reference/gh-prd/GithubPRD_Post_-_Mobile_Expand_Mininav_0_viewport_0_xs.png b/_ci/backstop/bd/bitmaps_reference/gh-prd/GithubPRD_Post_-_Mobile_Expand_Mininav_0_viewport_0_xs.png index d46cefc42..9eeab47c0 100644 Binary files a/_ci/backstop/bd/bitmaps_reference/gh-prd/GithubPRD_Post_-_Mobile_Expand_Mininav_0_viewport_0_xs.png and b/_ci/backstop/bd/bitmaps_reference/gh-prd/GithubPRD_Post_-_Mobile_Expand_Mininav_0_viewport_0_xs.png differ diff --git a/_ci/backstop/bd/bitmaps_reference/gh-prd/GithubPRD_Post_-_Navigate_From_Posts_0_viewport_0_xs.png b/_ci/backstop/bd/bitmaps_reference/gh-prd/GithubPRD_Post_-_Navigate_From_Posts_0_viewport_0_xs.png index 60a38712d..9b5697c32 100644 Binary files a/_ci/backstop/bd/bitmaps_reference/gh-prd/GithubPRD_Post_-_Navigate_From_Posts_0_viewport_0_xs.png and b/_ci/backstop/bd/bitmaps_reference/gh-prd/GithubPRD_Post_-_Navigate_From_Posts_0_viewport_0_xs.png differ diff --git a/back/package-lock.json b/back/package-lock.json index e02d0c139..17b871020 100644 --- a/back/package-lock.json +++ b/back/package-lock.json @@ -1,12 +1,12 @@ { "name": "cms.dgrebb.com", - "version": "3.14.3", + "version": "3.14.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cms.dgrebb.com", - "version": "3.14.3", + "version": "3.14.4", "license": "MIT", "dependencies": { "@strapi/plugin-i18n": "4.16.0", diff --git a/back/package.json b/back/package.json index 64223671b..b2203103c 100644 --- a/back/package.json +++ b/back/package.json @@ -1,6 +1,6 @@ { "name": "cms.dgrebb.com", - "version": "3.14.3", + "version": "3.14.4", "private": true, "description": "cms.dgrebb.com", "license": "MIT", diff --git a/front/package-lock.json b/front/package-lock.json index 1983e7f67..e6b692596 100644 --- a/front/package-lock.json +++ b/front/package-lock.json @@ -1,12 +1,12 @@ { "name": "dgrebb.com", - "version": "3.14.3", + "version": "3.14.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "dgrebb.com", - "version": "3.14.3", + "version": "3.14.4", "hasInstallScript": true, "devDependencies": { "@accuser/svelte-plausible-analytics": "dgrebb/svelte-plausible-analytics#downstream/feature/support-custom-pageview-properties", diff --git a/front/package.json b/front/package.json index 1cebfde9b..d7dbb46ae 100644 --- a/front/package.json +++ b/front/package.json @@ -1,6 +1,6 @@ { "name": "dgrebb.com", - "version": "3.14.3", + "version": "3.14.4", "private": true, "scripts": { "check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json", diff --git a/front/src/hooks.server.js b/front/src/hooks.server.js index 820797ad7..7d33c9264 100644 --- a/front/src/hooks.server.js +++ b/front/src/hooks.server.js @@ -3,7 +3,7 @@ import { dev, building } from '$app/environment'; export function handleError({ error, event }) { console.warn(`Error: ${error}`); - console.warn(`Event: ${event}`); + console.dir(event); return { message: 'Whoops!', diff --git a/front/static/robots.txt b/front/static/robots.txt index 230934bd7..2216ef360 100644 --- a/front/static/robots.txt +++ b/front/static/robots.txt @@ -1,8 +1,10 @@ User-agent: * +Disallow: / Disallow: /*.json$ Disallow: /*.js$ Disallow: /*.gz$ Disallow: /*.br$ -Disallow: /fonts -Disallow: /s -Disallow: / +Disallow: /fonts/ +Disallow: /s/ +Disallow: /styles/ +Disallow: /v/ \ No newline at end of file