mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-03-09 13:30:46 +08:00
Add Discord OAuth login
This commit is contained in:
@@ -12,6 +12,7 @@ import SettingsPageView from '../views/SettingsPageView.vue'
|
||||
import ProfileView from '../views/ProfileView.vue'
|
||||
import NotFoundPageView from '../views/NotFoundPageView.vue'
|
||||
import GithubCallbackPageView from '../views/GithubCallbackPageView.vue'
|
||||
import DiscordCallbackPageView from '../views/DiscordCallbackPageView.vue'
|
||||
|
||||
const routes = [
|
||||
{
|
||||
@@ -74,6 +75,11 @@ const routes = [
|
||||
name: 'github-callback',
|
||||
component: GithubCallbackPageView
|
||||
},
|
||||
{
|
||||
path: '/discord-callback',
|
||||
name: 'discord-callback',
|
||||
component: DiscordCallbackPageView
|
||||
},
|
||||
{
|
||||
path: '/404',
|
||||
name: 'not-found',
|
||||
|
||||
Reference in New Issue
Block a user