STRAPI_URL="http://127.0.0.1:1337" // or use your IP address
but if you copy this naively, it will actually append the "// or use your IP address" to your URL, because "//" is not the correct comment starter for .env files.
To fix this, the correct comment starter should be "#"
STRAPI_URL="http://127.0.0.1:1337" # or use your IP address
On the Astro page : https://docs.astro.build/en/guides/cms/strapi/
Currently the content of the .env file is:
but if you copy this naively, it will actually append the "// or use your IP address" to your URL, because "//" is not the correct comment starter for .env files.
To fix this, the correct comment starter should be "#"