mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-07 16:03:21 +00:00
* feat: allow setting custom cors header on http trigger * preflight * headers one by one * perf: optimize conditional_cors_middleware by checking existing headers first Improves performance by iterating through existing headers once and using flags to track which CORS headers need to be inserted, avoiding unnecessary header lookups for the common case where headers are not present Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com> * refactor: use not_insert flags in conditional_cors_middleware for clarity Changed the conditional_cors_middleware logic to use not_insert_* flags instead of needs_* flags as suggested, which better represents the intent when iterating through existing headers first. Co-authored-by: Alexander Petric <alpetric@users.noreply.github.com> --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Ruben Fiszel <rubenfiszel@users.noreply.github.com>
Windmill Backend
This folder holds all backend components, the src/ folder only contains files used to build the "root" binary.
Components
| name | description |
|---|---|
| windmill-api | The API server, exposing functionality to other components and the frontend |
| windmill-audit | Contains audit functionality, allowing different components to record important actions |
| windmill-common | Common code shared by all crates |
| windmill-queue | Contains job & flow queuing functionality, commonly written to by the API server and read from by workers |
| windmill-worker | The worker. Used to process and execute flows & jobs. |
| parsers | Contains code to parse signatures in different langauges. |
Compile sqlx for offline ci
cargo sqlx prepare --workspace -- --bin windmill --features enterprise