mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-03-04 19:10:47 +08:00
feat: add GitHub OAuth login
This commit is contained in:
@@ -11,6 +11,7 @@ import NewPostPageView from '../views/NewPostPageView.vue'
|
||||
import SettingsPageView from '../views/SettingsPageView.vue'
|
||||
import ProfileView from '../views/ProfileView.vue'
|
||||
import NotFoundPageView from '../views/NotFoundPageView.vue'
|
||||
import GithubCallbackPageView from '../views/GithubCallbackPageView.vue'
|
||||
|
||||
const routes = [
|
||||
{
|
||||
@@ -68,6 +69,11 @@ const routes = [
|
||||
name: 'users',
|
||||
component: ProfileView
|
||||
},
|
||||
{
|
||||
path: '/github-callback',
|
||||
name: 'github-callback',
|
||||
component: GithubCallbackPageView
|
||||
},
|
||||
{
|
||||
path: '/404',
|
||||
name: 'not-found',
|
||||
|
||||
Reference in New Issue
Block a user