forked from FoundKeyGang/FoundKey
[Server] Fix bug
This commit is contained in:
parent
0e5212afd5
commit
1dd31647d7
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ module.exports = (app: express.Application) => {
|
||||||
const twAuth = autwh({
|
const twAuth = autwh({
|
||||||
consumerKey: config.twitter.consumer_key,
|
consumerKey: config.twitter.consumer_key,
|
||||||
consumerSecret: config.twitter.consumer_secret,
|
consumerSecret: config.twitter.consumer_secret,
|
||||||
callbackUrl: config.url + '/tw/cb'
|
callbackUrl: config.api_url + '/tw/cb'
|
||||||
});
|
});
|
||||||
|
|
||||||
app.get('/connect/twitter', async (req, res): Promise<any> => {
|
app.get('/connect/twitter', async (req, res): Promise<any> => {
|
||||||
|
|
Loading…
Reference in a new issue