mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 20:49:06 +01:00
Fix bug
This commit is contained in:
parent
0c0c37108b
commit
5ea78e3440
@ -70,7 +70,8 @@ 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}/api/tw/cb`
|
||||||
});
|
});
|
||||||
|
|
||||||
app.get('/connect/twitter', async (req, res): Promise<any> => {
|
app.get('/connect/twitter', async (req, res): Promise<any> => {
|
||||||
|
Loading…
Reference in New Issue
Block a user