Closed MurphyLo closed 4 months ago
move cors headers setup and options request handling before the api key check. This ensures proper handling of preflight requests without requiring authentication, avoiding the 401 response that was previously sent for preflight requests.
Merged, thanks @MurphyLo!
move cors headers setup and options request handling before the api key check. This ensures proper handling of preflight requests without requiring authentication, avoiding the 401 response that was previously sent for preflight requests.