mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-04-03 06:16:15 +00:00
Compare commits
1 Commits
v2.1.2
...
titch-test
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7217cb1cab |
@@ -272,6 +272,8 @@ void PreGame(const std::string& GamePath){
|
||||
|
||||
void set_headers(httplib::Response& res) {
|
||||
res.set_header("Access-Control-Allow-Origin", "*");
|
||||
res.set_header("Access-Control-Allow-Headers", "X-API-Version");
|
||||
res.set_header("Access-Control-Allow-Method", "GET,POST,OPTIONS");
|
||||
}
|
||||
|
||||
void StartProxy() {
|
||||
|
||||
Reference in New Issue
Block a user