initial commit
This commit is contained in:
commit
0937112f04
13 files changed
+34913
No files matched your search
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#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
|
||||
Reference in new issue
Block a user