All pages now in Nuxt, work next on nav.
DB connected, check issues with writing. Signed-off-by: Louis Hollingworth <louis@hollingworth.ch>
This commit is contained in:
parent
f9e7e5480c
commit
14659122c3
17 changed files with 375 additions and 56 deletions
5
server/routes/auth/v1/discord.ts
Normal file
5
server/routes/auth/v1/discord.ts
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
const url = `https://discord.com/api/oauth2/authorize?client_id=1105533416377688174&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Fauth%2Fv1%2Fcallback&response_type=code&scope=identify%20guilds%20guilds.members.read`
|
||||
|
||||
export default defineEventHandler((event) => {
|
||||
return sendRedirect(event, url)
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue