This commit is contained in:
parent
c2b5017324
commit
2ef9deedc3
3
.gitignore
vendored
3
.gitignore
vendored
@ -2,4 +2,5 @@
|
|||||||
.vscode
|
.vscode
|
||||||
node_modules
|
node_modules
|
||||||
public/build
|
public/build
|
||||||
build-info.js
|
build-info.js
|
||||||
|
.env
|
@ -1,8 +1,8 @@
|
|||||||
import { default as createQueue, PRIORITY } from "../http-queue";
|
|
||||||
import ssrConfig from "../../../ssr-config";
|
import ssrConfig from "../../../ssr-config";
|
||||||
import { substituteVars } from "../../../utils/format";
|
import { substituteVars } from "../../../utils/format";
|
||||||
|
import { default as createQueue, PRIORITY } from "../http-queue";
|
||||||
|
|
||||||
const CLIENT_ID = "u0swxz56n4iumc634at1osoqdk31qt";
|
const CLIENT_ID = "r2phvaavwhzh2s19y72na3cq1x4a58";
|
||||||
|
|
||||||
const TWITCH_AUTH_URL = "https://id.twitch.tv/oauth2";
|
const TWITCH_AUTH_URL = "https://id.twitch.tv/oauth2";
|
||||||
const AUTHORIZATION_URL =
|
const AUTHORIZATION_URL =
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
import queues from "../network/queues/queues";
|
|
||||||
import keyValueRepository from "../db/repository/key-value";
|
import keyValueRepository from "../db/repository/key-value";
|
||||||
import twitchRepository from "../db/repository/twitch";
|
import twitchRepository from "../db/repository/twitch";
|
||||||
import createPlayerService from "../services/scoresaber/player";
|
|
||||||
import profileApiClient from "../network/clients/twitch/api-profile";
|
import profileApiClient from "../network/clients/twitch/api-profile";
|
||||||
import videosApiClient from "../network/clients/twitch/api-videos";
|
import videosApiClient from "../network/clients/twitch/api-videos";
|
||||||
|
import { PRIORITY } from "../network/queues/http-queue";
|
||||||
|
import queues from "../network/queues/queues";
|
||||||
|
import createPlayerService from "../services/scoresaber/player";
|
||||||
import eventBus from "../utils/broadcast-channel-pubsub";
|
import eventBus from "../utils/broadcast-channel-pubsub";
|
||||||
import log from "../utils/logger";
|
|
||||||
import {
|
import {
|
||||||
addToDate,
|
addToDate,
|
||||||
dateFromString,
|
dateFromString,
|
||||||
@ -14,7 +14,7 @@ import {
|
|||||||
millisToDuration,
|
millisToDuration,
|
||||||
MINUTE,
|
MINUTE,
|
||||||
} from "../utils/date";
|
} from "../utils/date";
|
||||||
import { PRIORITY } from "../network/queues/http-queue";
|
import log from "../utils/logger";
|
||||||
import makePendingPromisePool from "../utils/pending-promises";
|
import makePendingPromisePool from "../utils/pending-promises";
|
||||||
|
|
||||||
const TWITCH_TOKEN_KEY = "twitchToken";
|
const TWITCH_TOKEN_KEY = "twitchToken";
|
||||||
|
Reference in New Issue
Block a user