forked from chookspace/chookchat
a few qol fixes
This commit is contained in:
@@ -362,6 +362,7 @@ int main() {
|
||||
|
||||
response.set_header("X-Logged-In", "true");
|
||||
response.set_header("X-Username", user->name);
|
||||
response.set_header("X-Bio", user->bio);
|
||||
} catch (const std::runtime_error& e) {
|
||||
response.status = 500;
|
||||
response.set_content("<p>there was an error :( it is: " + std::string(e.what()) + "</p>", "text/html");
|
||||
|
||||
Reference in New Issue
Block a user