pages-server/server
Gusted 513e79832a Use correct log level for CheckCanonicalDomain (#162)
- Currently any error generated by requesting the `.domains` file of a repository would be logged under the info log level, which isn't the correct log level when we exclude the not found error.
- Use warn log level if the error isn't the not found error.

Co-authored-by: Gusted <postmaster@gusted.xyz>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/162
Reviewed-by: Otto <otto@codeberg.org>
2023-01-22 18:52:21 +00:00
..
cache make mem cache an interface and inject 2021-12-05 14:48:51 +01:00
certificates Added TokenBucket to limit the rate of validation failures (#151) 2023-01-04 05:26:14 +00:00
context Refactor split long functions (#135) 2022-11-12 20:43:44 +01:00
database Remove unnecessary conversion (#139) 2022-11-15 16:15:11 +01:00
dns switch to std http implementation instead of fasthttp (#106) 2022-11-12 20:37:20 +01:00
gitea Remove unnecessary conversion (#139) 2022-11-15 16:15:11 +01:00
handler Fix wrong redirect on custom domain with path (#154) 2023-01-11 00:00:37 +00:00
upstream Use correct log level for CheckCanonicalDomain (#162) 2023-01-22 18:52:21 +00:00
utils switch to std http implementation instead of fasthttp (#106) 2022-11-12 20:37:20 +01:00
version Release via CI (#94) 2022-06-14 20:35:11 +02:00
setup.go Remove unnecessary conversion (#139) 2022-11-15 16:15:11 +01:00