mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2024-11-23 00:33:44 +00:00
Redirect to base_uri, not to localhost
This commit is contained in:
parent
26aa51c3be
commit
6c5497ae49
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ namespace tawashi {
|
|||
boost::optional<std::string> token = submit_to_redis(post_data_it->second);
|
||||
if (token) {
|
||||
std::ostringstream oss;
|
||||
oss << "http://127.0.0.1:8080/" << *token;
|
||||
oss << base_uri() << '/' << *token;
|
||||
this->change_type(Response::Location, oss.str());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue