mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-24 13:56:57 +00:00
wip
This commit is contained in:
parent
0bc0a149d0
commit
ad64b19dc3
1 changed files with 4 additions and 0 deletions
|
@ -12,6 +12,10 @@ import (
|
|||
|
||||
const giteaAPIRepos = "/api/v1/repos/"
|
||||
|
||||
// TODOs:
|
||||
// * own client to store token & giteaRoot
|
||||
// * handle 404 -> page will show 500 atm
|
||||
|
||||
func giteaRawContent(targetOwner, targetRepo, ref, giteaRoot, giteaAPIToken, resource string) ([]byte, error) {
|
||||
req := fasthttp.AcquireRequest()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue