#include "cors.hpp" void set_cors_headers(const httplib::Request& request, httplib::Response& response) { response.set_header("Access-Control-Allow-Origin", "*"); response.set_header("Access-Control-Allow-Methods", "GET,POST,OPTIONS"); response.set_header("Access-Control-Allow-Headers", "Authorization,X-Custom,Content-Type"); }