mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-19 11:36:57 +00:00
refactor: finish use default const for defaultPagesBranch and defaultPagesRepo
This commit is contained in:
parent
c827a28dd8
commit
4565481643
3 changed files with 3 additions and 4 deletions
|
@ -16,6 +16,8 @@ import (
|
|||
const (
|
||||
headerAccessControlAllowOrigin = "Access-Control-Allow-Origin"
|
||||
headerAccessControlAllowMethods = "Access-Control-Allow-Methods"
|
||||
defaultPagesRepo = "pages"
|
||||
defaultPagesBranch = "pages"
|
||||
)
|
||||
|
||||
// Handler handles a single HTTP request to the web server.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue