ESPAsyncWebServer icon indicating copy to clipboard operation
ESPAsyncWebServer copied to clipboard

AsyncEventSource and Custom headers

Open ttyridal opened this issue 3 years ago • 4 comments

not possible?

of particular interest to me right now: cors headers.

ttyridal avatar Nov 27 '22 18:11 ttyridal

this seems to work ok:

  ....
  server.addHandler(&events);
  DefaultHeaders::Instance().addHeader("Access-Control-Allow-Origin", "*");
  DefaultHeaders::Instance().addHeader("Access-Control-Allow-Headers", "*");
  server.begin();

jschoch avatar Mar 20 '23 14:03 jschoch

[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar May 21 '23 21:05 stale[bot]

Not working did anyone find the solution?

Ammar-Ishfaq avatar Nov 04 '24 10:11 Ammar-Ishfaq

[STALE_CLR] This issue has been removed from the stale queue. Please ensure activity to keep it openin the future.

stale[bot] avatar Nov 04 '24 10:11 stale[bot]