mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-29 07:51:58 +00:00
add prettier and format files
This commit is contained in:
parent
e45a354eef
commit
7f4c8d67ec
8 changed files with 60 additions and 60 deletions
14
FEATURES.md
14
FEATURES.md
|
@ -19,16 +19,16 @@ Redirects can be created with a `_redirects` file with the following format:
|
|||
from to [status]
|
||||
```
|
||||
|
||||
* Lines starting with `#` are ignored
|
||||
* `from` - the path to redirect from (Note: repository and branch names are removed from request URLs)
|
||||
* `to` - the path or URL to redirect to
|
||||
* `status` - status code to use when redirecting (default 301)
|
||||
- Lines starting with `#` are ignored
|
||||
- `from` - the path to redirect from (Note: repository and branch names are removed from request URLs)
|
||||
- `to` - the path or URL to redirect to
|
||||
- `status` - status code to use when redirecting (default 301)
|
||||
|
||||
### Status codes
|
||||
|
||||
* `200` - returns content from specified path (no external URLs) without changing the URL (rewrite)
|
||||
* `301` - Moved Permanently (Permanent redirect)
|
||||
* `302` - Found (Temporary redirect)
|
||||
- `200` - returns content from specified path (no external URLs) without changing the URL (rewrite)
|
||||
- `301` - Moved Permanently (Permanent redirect)
|
||||
- `302` - Found (Temporary redirect)
|
||||
|
||||
### Examples
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue