mirror of
https://codeberg.org/tacerus/teddit.git
synced 2024-11-25 08:39:26 +01:00
add missing config
This commit is contained in:
parent
15a976c886
commit
da33b5c456
2
app.js
2
app.js
@ -1,6 +1,8 @@
|
||||
const config = require('./config')
|
||||
|
||||
global.client_id_b64 = Buffer.from(`${config.reddit_app_id}:`).toString('base64')
|
||||
global.reddit_access_token = null
|
||||
global.reddit_refresh_token = null
|
||||
|
||||
const pug = require('pug')
|
||||
const path = require('path')
|
||||
|
@ -1,4 +1,5 @@
|
||||
module.exports = function() {
|
||||
const config = require('../config')
|
||||
this.processSubredditSidebar = (subreddit, redis, fetch, RedditAPI) => {
|
||||
return new Promise(resolve => {
|
||||
(async () => {
|
||||
|
Loading…
Reference in New Issue
Block a user