Docs: prohibir navegación a dominio de producción, solo usar ACAI_WEB_URL
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user