Changed to point to live bot server.

This commit is contained in:
Phil 2022-09-15 17:07:58 +01:00
parent a923ac82d9
commit 13717efeca

View File

@ -1,7 +1,7 @@
import { PrivateUser, User } from 'common/user' import { PrivateUser, User } from 'common/user'
import { generateNewApiKey } from '../api/api-key' import { generateNewApiKey } from '../api/api-key'
const TWITCH_BOT_PUBLIC_URL = 'http://localhost:9172' //'https://king-prawn-app-5btyw.ondigitalocean.app' // TODO: Add this to env config appropriately const TWITCH_BOT_PUBLIC_URL = 'https://king-prawn-app-5btyw.ondigitalocean.app' // TODO: Add this to env config appropriately
function postToBot(url: string, body: any): Promise<Response> { function postToBot(url: string, body: any): Promise<Response> {
return fetch(url, { return fetch(url, {