This commit is contained in:
parent
785cd7a35f
commit
3bdcd7b120
@ -121,7 +121,7 @@ void http::send_redirect(const Request &request)
|
||||
const char *env = std::getenv("HTTPS");
|
||||
string baseurl;
|
||||
if (env != nullptr && env[1] == 'n')
|
||||
{
|
||||
{ // "on"
|
||||
baseurl = "https://seccdn.libravatar.org";
|
||||
}
|
||||
else
|
||||
|
@ -18,6 +18,9 @@
|
||||
#include <sstream>
|
||||
#include <array>
|
||||
#include <algorithm>
|
||||
#include <Magick++/Geometry.h>
|
||||
#include <Magick++/Color.h>
|
||||
#include <Magick++/Exception.h>
|
||||
#include "libravatarserv.hpp"
|
||||
|
||||
using std::cout;
|
||||
|
@ -15,6 +15,7 @@
|
||||
*/
|
||||
|
||||
#include <iostream>
|
||||
#include <Magick++/Geometry.h>
|
||||
#include "version.hpp"
|
||||
#include "libravatarserv.hpp"
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
#endif
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <Magick++.h>
|
||||
#include <Magick++/Image.h>
|
||||
|
||||
#if __cplusplus >= 201703L
|
||||
namespace fs = std::filesystem;
|
||||
|
Loading…
x
Reference in New Issue
Block a user