Initialize default fallback with "404"
the build was successful Details

This commit is contained in:
tastytea 2018-11-28 14:56:15 +01:00
parent 3e037d4936
commit 4418251844
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required (VERSION 3.2) cmake_minimum_required (VERSION 3.2)
project(libravatarserv project(libravatarserv
VERSION 0.6.1 VERSION 0.6.2
LANGUAGES CXX LANGUAGES CXX
) )

View File

@ -44,7 +44,7 @@ namespace global
extern fs::path avatar_dir; extern fs::path avatar_dir;
extern struct Settings extern struct Settings
{ {
string default_fallback = ""; string default_fallback = "404";
bool redirect_nofallback = false; bool redirect_nofallback = false;
bool redirect_nouser = false; bool redirect_nouser = false;
} settings; } settings;