mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 11:57:34 -07:00
fix: add route
This commit is contained in:
parent
8b32566678
commit
36aef5a063
1 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,7 @@ import handler from "./api-handler.js";
|
|||
import signup from "./private/signup.js";
|
||||
import signin from "./private/signin.js";
|
||||
import signupPending from "./private/signup-pending.js";
|
||||
import verifyEmail from "./private/verify-email.js";
|
||||
import discord from "./service/discord.js";
|
||||
import github from "./service/github.js";
|
||||
import twitter from "./service/twitter.js";
|
||||
|
@ -177,6 +178,7 @@ for (const endpoint of [...endpoints, ...compatibility]) {
|
|||
router.post("/signup", signup);
|
||||
router.post("/signin", signin);
|
||||
router.post("/signup-pending", signupPending);
|
||||
router.post("/verify-email", verifyEmail);
|
||||
|
||||
router.use(discord.routes());
|
||||
router.use(github.routes());
|
||||
|
|
Loading…
Reference in a new issue