mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2024-11-26 05:55:27 +00:00
9ffdc9d4f9
Move repetitive code from Options.matchRedirects into a new Redirect.rewriteURL method and add a new test file. No functional changes are intended; this is in preparation for a later change to address #269. Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/304 Reviewed-by: crapStone <codeberg@crapstone.dev> Co-authored-by: Daniel Erat <dan@erat.org> Co-committed-by: Daniel Erat <dan@erat.org> |
||
---|---|---|
.. | ||
acme | ||
cache | ||
certificates | ||
context | ||
database | ||
dns | ||
gitea | ||
handler | ||
upstream | ||
utils | ||
version | ||
startup.go |