Skip to content

Commit

Permalink
fix: change errant L to : in reply header
Browse files Browse the repository at this point in the history
  • Loading branch information
martim01 committed Jan 7, 2022
1 parent 5996410 commit e14ad94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
project(restgoose LANGUAGES CXX C VERSION 1.0.0)
project(restgoose LANGUAGES CXX C VERSION 1.0.1)

message(STATUS "Restgoose Version: ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")

Expand Down
2 changes: 1 addition & 1 deletion src/mongooseserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1116,7 +1116,7 @@ void MongooseServer::DoReply(mg_connection* pConnection,const response& theRespo
<< "Access-Control-Allow-Origin:*\r\n"
<< "Access-Control-Allow-Methods:GET, PUT, POST, HEAD, OPTIONS, DELETE\r\n"
<< "Access-Control-Allow-Headers:Content-Type, Accept, Authorization\r\n"
<< "Access-Control-Max-AgeL3600\r\n\r\n";
<< "Access-Control-Max-Age:3600\r\n\r\n";


mg_send(pConnection, ssHeaders.str().c_str(), ssHeaders.str().length());
Expand Down

0 comments on commit e14ad94

Please sign in to comment.