diff --git a/docs/knowledge-index-base.md b/docs/knowledge-index-base.md index 94df73f..d077d73 100644 --- a/docs/knowledge-index-base.md +++ b/docs/knowledge-index-base.md @@ -4,10 +4,11 @@ This is an Acai CMS website project. Follow these instructions when working with ## Environment -- The site runs in Docker. The public URL is the project's domain (e.g. `https://username_domain.forge.acaisuite.com/`) -- You can make HTTP requests to test pages, APIs, or form submissions using the project's public URL -- If you need to inspect the live site, use browser tools (Playwright MCP) or HTTP requests to the project URL -- **NEVER use localhost:8080** — that does not resolve in this environment. Always use the project's actual URL. +- The site runs in Docker. The development URL is provided via `ACAI_WEB_URL` environment variable (e.g. `https://username_domain.forge.acaisuite.com/`) +- **ALWAYS use `ACAI_WEB_URL` for fetch, Playwright, and any HTTP request.** This is the local development copy. +- **NEVER navigate to the production domain** (e.g. `keepsailing.es`, `tienda.com`). The production site is NOT your development environment. Only use the forge URL. +- **NEVER use localhost:8080** — that does not resolve in this environment. +- If `ACAI_WEB_URL` is not available, check the `.acai` file for `local_web_url`. ## Project Structure