Browse Source

Merge branch 'dev'

master
Ivan Polyakov 2 years ago
parent
commit
666d602b98
  1. 2
      config.mk
  2. 2
      cxx/Response.cxx

2
config.mk

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
VERSION=0.3.0
VERSION=0.3.1
#arg Installation prefix
PREFIX=/usr/local

2
cxx/Response.cxx

@ -29,7 +29,7 @@ void Response::render(const char *path, nlohmann::json data) @@ -29,7 +29,7 @@ void Response::render(const char *path, nlohmann::json data)
body(result.c_str());
} catch (inja::RenderError &e) {
std::cerr << e.what() << std::endl;
status(internal_server_error);
status(rpd_res_st_internal_server_error);
return;
}
}

Loading…
Cancel
Save