Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
www
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PLN
www
Commits
9fbe130f
Commit
9fbe130f
authored
Oct 07, 2026
by
PLN (Algolia)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
admin: dedupe backend endpoints — stale git.nech.pl pair made Sveltia refuse the config
parent
6b30975d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
config.yml
public/admin/config.yml
+3
-9
No files found.
public/admin/config.yml
View file @
9fbe130f
...
@@ -5,10 +5,6 @@ site_url: https://me.nech.pl
...
@@ -5,10 +5,6 @@ site_url: https://me.nech.pl
backend
:
backend
:
name
:
gitlab
name
:
gitlab
repo
:
pln/www
repo
:
pln/www
# Self-hosted GitLab — both base_url and api_root must point at git.nech.pl
# (Sveltia does not infer them from the repo URL).
base_url
:
https://git.nech.pl
api_root
:
https://git.nech.pl/api/v4
# Auth: gate (api.nech.pl/gate/v1) is the auth service — magic email-code
# Auth: gate (api.nech.pl/gate/v1) is the auth service — magic email-code
# login, then a postMessage handshake hands Sveltia the pln-cms token.
# login, then a postMessage handshake hands Sveltia the pln-cms token.
# Rationale: Sveltia hardcodes Bearer (gitlab backend authScheme) and this
# Rationale: Sveltia hardcodes Bearer (gitlab backend authScheme) and this
...
@@ -16,14 +12,12 @@ backend:
...
@@ -16,14 +12,12 @@ backend:
# git.nech.pl directly — gate's /gitlab/ proxy translates, and gate's
# git.nech.pl directly — gate's /gitlab/ proxy translates, and gate's
# authorize page implements the Sveltia handshake natively (source-verified
# authorize page implements the Sveltia handshake natively (source-verified
# against sveltia-cms shared/auth.js + sveltia-cms-auth outputHTML).
# against sveltia-cms shared/auth.js + sveltia-cms-auth outputHTML).
# app_id kept only as history: direct GitLab OAuth (pkce) is unreachable on
# this GitLab version.
base_url
:
https://api.nech.pl
base_url
:
https://api.nech.pl
auth_endpoint
:
gate/v1/oauth/authorize
auth_endpoint
:
gate/v1/oauth/authorize
api_root
:
https://api.nech.pl/gate/v1/gitlab
api_root
:
https://api.nech.pl/gate/v1/gitlab
#
Paste the OAuth application ID from git.nech.pl (Admin area -> Applications;
#
app_id (d8696dc6…) from the git.nech.pl OAuth app is kept only as history:
#
redirect URI https://me.nech.pl/admin/, "Confidential" unchecked, api scope)
.
#
direct GitLab OAuth (pkce) is unreachable on this GitLab version
.
app_id
:
d8696dc65c5f2308ce16f3a0ddbcfb913915562917ad4647cfaa3ea843dee287
#
app_id: d8696dc65c5f2308ce16f3a0ddbcfb913915562917ad4647cfaa3ea843dee287
media_folder
:
public/images/blog
media_folder
:
public/images/blog
public_folder
:
/images/blog
public_folder
:
/images/blog
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment