mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
refactor(api): ♻️ Change route names, improve API endpoints to be more consistent with Mastodon API
This commit is contained in:
parent
a6eb826b04
commit
b1216a43f2
19 changed files with 785 additions and 375 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { config } from "config-manager";
|
||||
|
||||
export const oauthRedirectUri = (issuer: string) =>
|
||||
new URL(`/oauth/callback/${issuer}`, config.http.base_url).toString();
|
||||
new URL(`/oauth/sso/${issuer}/callback`, config.http.base_url).toString();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue