Files
openrouter/src/security/cors.hpp
T
2024-06-24 18:35:40 +07:00

14 lines
237 B
C++
Executable File

#ifndef CORS_HPP
#define CORS_HPP
#include <httplib.h>
#ifdef CORS_ENABLE
// function to set cors headers
void set_cors_headers(const httplib::Request& request, httplib::Response& response);
#endif // CORS_ENABLE
#endif // CORS_HPP