Point at production Twitch bot endpoint

This commit is contained in:
Marshall Polaris 2022-09-17 02:26:03 -07:00
parent e0806cf0e0
commit e9ddf52c27

View File

@ -1,7 +1,10 @@
import { PrivateUser, User } from 'common/user'
import { generateNewApiKey } from '../api/api-key'
const TWITCH_BOT_PUBLIC_URL = 'https://king-prawn-app-5btyw.ondigitalocean.app' // TODO: Add this to env config appropriately
// TODO: Add this to env config appropriately
const TWITCH_BOT_PUBLIC_URL = 'https://twitch-bot-nggbo3neva-uc.a.run.app'
// Ours: https://twitch-bot-nggbo3neva-uc.a.run.app
// Phil's: https://king-prawn-app-5btyw.ondigitalocean.app
async function postToBot(url: string, body: unknown) {
const result = await fetch(url, {