mirror of
https://github.com/status-im/codimd.git
synced 2025-02-03 09:53:44 +00:00
fix: export to gist occurred 404 not found
This commit is contained in:
parent
eacbb99575
commit
0a6793747c
@ -4,6 +4,7 @@ const Router = require('express').Router
|
||||
const passport = require('passport')
|
||||
const GithubStrategy = require('passport-github').Strategy
|
||||
const config = require('../../../config')
|
||||
const response = require('../../../response')
|
||||
const {setReturnToFromReferer, passportGeneralCallback} = require('../utils')
|
||||
|
||||
let githubAuth = module.exports = Router()
|
||||
@ -26,3 +27,6 @@ githubAuth.get('/auth/github/callback',
|
||||
failureRedirect: config.serverurl + '/'
|
||||
})
|
||||
)
|
||||
|
||||
// github callback actions
|
||||
githubAuth.get('/auth/github/callback/:noteId/:action', response.githubActions)
|
||||
|
Loading…
x
Reference in New Issue
Block a user