Open HenriquePi opened 1 month ago
Latest commit: 9755050690733a1c0f416e24e91663614243d63c
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Hi, The recommended setup is to define the actual ghostURL within your astro.config.mjs
instead of .env
( example ) as per our docs as well... since its not considered a protected key/secret by GhostCMS. Though from my own testing it should default to what ever option you have set without needing this change as i do not set a default ghostURL myself.
Side note... I will be rebuilding the Astro-GhostCMS integration system here soon as i have learned a ton from my developing StudioCMS
Fix setting of ghostURL to use user set URL instead of default
Currently script prioritizes CONF_URL which is a package default.
set CONTENT_API_URL to have priority to ensure user set URL has priority.