mirror of
https://codeberg.org/Codeberg/Documentation.git
synced 2026-08-15 14:53:29 -07:00
pages: Document more deprecations in move to git-pages
This commit is contained in:
parent
647637a7c6
commit
0ccb4bcc93
1 changed files with 2 additions and 0 deletions
|
|
@ -33,6 +33,8 @@ Please be aware of the following changes and deprecated features.
|
|||
- Content is no longer fetched automatically. You need to use a method that informs git-pages about changes.
|
||||
- `raw.codeberg.page` is no longer available. CORS headers are now directly set on your page and this workaround is no longer necessary.
|
||||
- Direct access to repos and branches is no longer possible. You can no longer use the `/repository/@branch` access. `git-pages` restricts you to the website you explicitly deployed. Serving arbitrary resources from Codeberg was a common abuse vector and is going to be deprecated.
|
||||
- There no longer are automatic redirections from `path` to `path.html`, add a [redirect rule](/codeberg-pages/advanced-usage/#redirects) for each of the pages you need to redirect.
|
||||
- Splat redirects only work for simple `/path/to/splat/*/ /new/path/to/:splat` patterns of moved posts, no way to e.g. replace file extension with `/*/ /:splat.html`.
|
||||
|
||||
## The first push
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue