From dc3a888da38a1443fedcc2890ff81f3a89a5f6cf Mon Sep 17 00:00:00 2001 From: zwitschi Date: Thu, 30 Oct 2025 13:09:07 +0100 Subject: [PATCH] docs: update README to include CORS support for embeddable forms --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8858f9f..30f4143 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ Access the admin interface at `http://127.0.0.1:5002/auth/login` using the confi ## Embeddable Forms -The application provides embeddable contact and newsletter subscription forms that can be integrated into other websites via iframe. +The application provides embeddable contact and newsletter subscription forms that can be integrated into other websites via iframe. CORS (Cross-Origin Resource Sharing) headers are automatically added to API endpoints to allow forms embedded on external sites to submit data successfully. - `GET /embed/contact`: serves an HTML page with a contact form that can be embedded in an iframe on external sites. - `GET /embed/newsletter`: serves an HTML page with a newsletter subscription form that can be embedded in an iframe on external sites.