mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 00:22:14 +11:00
🐛 fixed previous commits
This commit is contained in:
parent
29f9905b53
commit
85cbff7a62
2 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <json/json.h>
|
#include <json/json.h> //remove later
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <xxhash.h>
|
#include <xxhash.h>
|
||||||
|
|
|
||||||
2
main.cpp
2
main.cpp
|
|
@ -68,7 +68,7 @@ int main(int argc, char **argv)
|
||||||
}).detach();
|
}).detach();
|
||||||
}
|
}
|
||||||
|
|
||||||
auto API = std::make_shared<api>(&bank);
|
auto API = std::make_shared<api>(bank);
|
||||||
app().registerPostHandlingAdvice(
|
app().registerPostHandlingAdvice(
|
||||||
[](const drogon::HttpRequestPtr &req, const drogon::HttpResponsePtr &resp) {
|
[](const drogon::HttpRequestPtr &req, const drogon::HttpResponsePtr &resp) {
|
||||||
resp->addHeader("Access-Control-Allow-Origin", "*");
|
resp->addHeader("Access-Control-Allow-Origin", "*");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue