Made the documentation more coherent

This commit is contained in:
tastytea 2018-11-27 17:14:35 +01:00
parent fbf7437dd9
commit a8c807717e
Signed by untrusted user: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 2 additions and 3 deletions

View File

@ -12,7 +12,7 @@ images tied to email or OpenID addresses.
* MD5 hashes * MD5 hashes
* SHA256 hashes * SHA256 hashes
* Variable image size (`s` or `size`) * Variable image size (`s` or `size`)
* Default actions (`d` or `default`): 404, URL, mp/mm, identicon * Default facllbacks (`d` or `default`): 404, URL, mp/mm, identicon
The default behaviour for unknown users is to return a 404 error. You can change The default behaviour for unknown users is to return a 404 error. You can change
that by setting the environment variable `LIBRAVATARSERV_DEFAULT_FALLBACK` to that by setting the environment variable `LIBRAVATARSERV_DEFAULT_FALLBACK` to
@ -30,7 +30,7 @@ The API is explained in greater detail at the
* OpenID * OpenID
* Because it isn't possible to store filenames with '/' in it on most filesystems. * Because it isn't possible to store filenames with '/' in it on most filesystems.
* The default actions monsterid, wavatar and retro * The default fallbacks monsterid, wavatar and retro
* Because I don't think anyone uses them? * Because I don't think anyone uses them?
* Patches welcome * Patches welcome

View File

@ -117,7 +117,6 @@ int main()
{ {
if (global::settings.redirect_nofallback) if (global::settings.redirect_nofallback)
{ {
cout << "Status: 307 Temporary Redirect\n";
http::send_redirect(avatar); http::send_redirect(avatar);
return 0; return 0;
} }