Changed to point to live bot server.
This commit is contained in:
parent
a923ac82d9
commit
13717efeca
|
@ -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, {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user