Comment on page
- The page keeps loading after startup, and I see a CORS error in the request.This may be due to a domain/URL change, causing a cross-origin issue between the frontend and backend. Please update the following configuration items in the docker-compose.yml file with the new domain:
CONSOLE_URL: Console domain, e.g.,
API_URL: Service API domain
APP_URL: Web APP domain
- Default StrategyThis strategy is suitable for local debugging and supports both HTTP and HTTPS protocols, but it requires the frontend and API to be on the same domain.WEB_API_CORS_ALLOW_ORIGINS: '*'CONSOLE_CORS_ALLOW_ORIGINS: '*'COOKIE_HTTPONLY: 'true'COOKIE_SAMESITE: 'Lax'COOKIE_SECURE: 'false'
- Cross-Origin Strategy (Do not use in production)Since SameSite=None must be used with Secure=true, the server must use the HTTPS protocol to enable cross-origin access. This strategy can be used when the server is remote and supports HTTPS, or when running the frontend and backend projects separately locally (localhost but on different ports, it works but may show a warning).WEB_API_CORS_ALLOW_ORIGINS: '*'CONSOLE_CORS_ALLOW_ORIGINS: '*'COOKIE_HTTPONLY: 'true'COOKIE_SAMESITE: 'Lax'COOKIE_SECURE: 'false'
- How to configure and use Azure OpenAICurrently, Azure OpenAI support is not fully available, and you need to create a deployment with the specified names to use it:
Please note that all deployment names should not contain periods (".").Looks like:
To ensure proper review, all code contributions - including those from contributors with direct commit access - must be submitted via pull requests and approved by the core development team prior to being merged.