fix: 🐛 Tag slug page returns 404 in development environment #101

Merged
create-issue-branch[bot] merged 3 commits from issue-99-Tag_slug_page_returns_404_in_dev into main 2024-03-10 05:02:03 +00:00
create-issue-branch[bot] commented 2024-03-10 04:51:42 +00:00 (Migrated from github.com)
Original issue description

Environment: Development

Steps to reproduce:

  • Navigate to the tag slug page
  • Observe the 404 error response

Expected result: The tag slug page should be accessible and display the correct content.
Actual result: The tag slug page returns a 404 error.

And I haven't tested it in the production environment yet.

11:43:49 [WARN] [👻 Astro-GhostCMS/ENV Check] ghostURL is not set in user configuration falling back to environment variable
11:43:49 [👻 Astro-GhostCMS/ENV Check] GhostCMS environment variables are set
11:43:49 [👻 Astro-GhostCMS/Integrations] Configuring Enabled Integrations
11:43:49 [👻 Astro-GhostCMS/Integrations] @astrojs/sitemap integration already exists, skipping...
11:43:49 [👻 Astro-GhostCMS/Integrations] Adding astro-robots-txt integration
11:43:49 [👻 Astro-GhostCMS/Router] Setting up Default 404 Page route
11:43:49 [👻 Astro-GhostCMS/Theme Provider] Theme Provider enabled. Setting up...
11:43:49 [👻 Astro-GhostCMS/Theme Provider] No theme is set, injecting default theme
11:43:49 [👻 Astro-GhostCMS/SatoriOG] OG Image Integration Enabled. Setting up...
11:43:49 [👻 Astro-GhostCMS/RSSGenerator] RSS Feed Enabled. Setting up...
11:43:49 [👻 Astro-GhostCMS/CONFIG] Integration Setup & Configuration Complete
11:43:49 [👻 Astro-GhostCMS/Theme Provider] Provider Setup Complete
11:43:49 [👻 Astro-GhostCMS/SatoriOG] OG Image Integration Setup Complete
11:43:49 [👻 Astro-GhostCMS/RSSGenerator] RSS Feed Setup Complete
11:43:49 [👻 Astro-GhostCMS/DEV] Running Astro-GhostCMS in Deveopment mode 🚀
11:43:50 [👻 Astro-GhostCMS/VERSION CHECK] Astro-GhostCMS is up to date! v3.3.1
11:44:06 [WARN] [router] A `getStaticPaths()` route pattern was matched, but no matching static path was found for requested path `/tag/tech/`.

Possible dynamic routes being matched: node_modules/@matthiesenxyz/astro-ghostcms-theme-default/src/routes/tag/[slug].astro.
11:44:07 [404] /tag/tech/ 260ms

closes #99

<details> <summary><b>Original issue description</b></summary> Environment: Development Steps to reproduce: - Navigate to the tag slug page - Observe the 404 error response Expected result: The tag slug page should be accessible and display the correct content. Actual result: The tag slug page returns a 404 error. And I haven't tested it in the production environment yet. ----- ``` 11:43:49 [WARN] [👻 Astro-GhostCMS/ENV Check] ghostURL is not set in user configuration falling back to environment variable 11:43:49 [👻 Astro-GhostCMS/ENV Check] GhostCMS environment variables are set 11:43:49 [👻 Astro-GhostCMS/Integrations] Configuring Enabled Integrations 11:43:49 [👻 Astro-GhostCMS/Integrations] @astrojs/sitemap integration already exists, skipping... 11:43:49 [👻 Astro-GhostCMS/Integrations] Adding astro-robots-txt integration 11:43:49 [👻 Astro-GhostCMS/Router] Setting up Default 404 Page route 11:43:49 [👻 Astro-GhostCMS/Theme Provider] Theme Provider enabled. Setting up... 11:43:49 [👻 Astro-GhostCMS/Theme Provider] No theme is set, injecting default theme 11:43:49 [👻 Astro-GhostCMS/SatoriOG] OG Image Integration Enabled. Setting up... 11:43:49 [👻 Astro-GhostCMS/RSSGenerator] RSS Feed Enabled. Setting up... 11:43:49 [👻 Astro-GhostCMS/CONFIG] Integration Setup & Configuration Complete 11:43:49 [👻 Astro-GhostCMS/Theme Provider] Provider Setup Complete 11:43:49 [👻 Astro-GhostCMS/SatoriOG] OG Image Integration Setup Complete 11:43:49 [👻 Astro-GhostCMS/RSSGenerator] RSS Feed Setup Complete 11:43:49 [👻 Astro-GhostCMS/DEV] Running Astro-GhostCMS in Deveopment mode 🚀 11:43:50 [👻 Astro-GhostCMS/VERSION CHECK] Astro-GhostCMS is up to date! v3.3.1 11:44:06 [WARN] [router] A `getStaticPaths()` route pattern was matched, but no matching static path was found for requested path `/tag/tech/`. Possible dynamic routes being matched: node_modules/@matthiesenxyz/astro-ghostcms-theme-default/src/routes/tag/[slug].astro. 11:44:07 [404] /tag/tech/ 260ms ``` </details> closes #99
changeset-bot[bot] commented 2024-03-10 04:51:46 +00:00 (Migrated from github.com)

🦋 Changeset detected

Latest commit: a604fab6fc

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@matthiesenxyz/astro-ghostcms-brutalbyelian Patch
@matthiesenxyz/astro-ghostcms-theme-default Patch
@matthiesenxyz/astro-ghostcms-catppuccin Patch
@matthiesenxyz/create-astro-ghostcms Patch
@matthiesenxyz/starlight-ghostcms Patch
@matthiesenxyz/astro-ghostcms Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

### 🦋 Changeset detected Latest commit: a604fab6fc3a11105faf61fd23914d4c005e76f3 **The changes in this PR will be included in the next version bump.** <details><summary>This PR includes changesets to release 6 packages</summary> | Name | Type | | ------------------------------------------- | ----- | | @matthiesenxyz/astro-ghostcms-brutalbyelian | Patch | | @matthiesenxyz/astro-ghostcms-theme-default | Patch | | @matthiesenxyz/astro-ghostcms-catppuccin | Patch | | @matthiesenxyz/create-astro-ghostcms | Patch | | @matthiesenxyz/starlight-ghostcms | Patch | | @matthiesenxyz/astro-ghostcms | Patch | </details> Not sure what this means? [Click here to learn what changesets are](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md). [Click here if you're a maintainer who wants to add another changeset to this PR](https://github.com/MatthiesenXYZ/astro-ghostcms/new/issue-99-Tag_slug_page_returns_404_in_dev?filename=.changeset/light-drinks-tan.md&value=---%0A%22%40matthiesenxyz%2Fastro-ghostcms-brutalbyelian%22%3A%20patch%0A%22%40matthiesenxyz%2Fastro-ghostcms-catppuccin%22%3A%20patch%0A%22%40matthiesenxyz%2Fastro-ghostcms-theme-default%22%3A%20patch%0A%22%40matthiesenxyz%2Fastro-ghostcms%22%3A%20patch%0A%22%40matthiesenxyz%2Fcreate-astro-ghostcms%22%3A%20patch%0A---%0A%0Afix%3A%20%F0%9F%90%9B%20Tag%20slug%20page%20returns%20404%20in%20development%20environment%0A)
Adammatthiesen (Migrated from github.com) approved these changes 2024-03-10 05:01:43 +00:00
Sign in to join this conversation.
No description provided.