mirror of
https://github.com/BeardedTek/flowbite-beardedtek.com.git
synced 2025-12-06 05:31:52 +00:00
Update config.template.yml to include app_id and use absolute URLs for API and auth endpoints
This commit is contained in:
@@ -2,9 +2,10 @@ backend:
|
||||
name: gitea
|
||||
repo: beardedtek/flowbite-beardedtek.com
|
||||
branch: main
|
||||
app_id: ca91733b-543f-4506-b2cc-7c6120d20b57
|
||||
base_url: https://git.beardedtek.com
|
||||
api_root: /api/v1
|
||||
auth_endpoint: /login/oauth/authorize
|
||||
api_root: https://git.beardedtek.com/api/v1
|
||||
auth_endpoint: https://git.beardedtek.com/login/oauth/authorize
|
||||
commit_messages:
|
||||
create: 'content: create {{collection}} "{{slug}}"'
|
||||
update: 'content: update {{collection}} "{{slug}}"'
|
||||
@@ -12,15 +13,7 @@ backend:
|
||||
uploadMedia: 'media: upload {{path}}'
|
||||
deleteMedia: 'media: delete {{path}}'
|
||||
|
||||
auth:
|
||||
provider: gitea
|
||||
client_id: "__OAUTH_CLIENT_ID__"
|
||||
client_secret: "__OAUTH_CLIENT_SECRET__"
|
||||
auth_url: /login/oauth/authorize
|
||||
token_url: /login/oauth/access_token
|
||||
user_url: /api/v1/user
|
||||
enable_pkce: true
|
||||
scope: "user"
|
||||
|
||||
|
||||
local_backend: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user