forgot to change this
This commit is contained in:
parent
86e5544572
commit
b65390a1b7
@ -25,7 +25,7 @@ int main()
|
|||||||
{
|
{
|
||||||
crow::response response(add_new_book(isbn));
|
crow::response response(add_new_book(isbn));
|
||||||
response.add_header("Access-Control-Allow-Origin", "*");
|
response.add_header("Access-Control-Allow-Origin", "*");
|
||||||
return crow::response(add_new_book(isbn));
|
return response;
|
||||||
});
|
});
|
||||||
|
|
||||||
CROW_ROUTE(app, "/remove/<string>")
|
CROW_ROUTE(app, "/remove/<string>")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user