v1.5.2/remove localhost api
This commit is contained in:
+1
-3
@@ -18,9 +18,7 @@ HBO Now and HBO Max logos are trademark and intellectual property of WarnerMedia
|
|||||||
************************************************************************/
|
************************************************************************/
|
||||||
/*global chrome*/
|
/*global chrome*/
|
||||||
|
|
||||||
const API_HOST = window.location.href.startsWith('http://localhost')
|
const API_HOST = 'https://us-central1-watch-party-crx.cloudfunctions.net/widgets2';
|
||||||
? 'http://localhost:5000/watch-party-crx/us-central1/widgets'
|
|
||||||
: 'https://us-central1-watch-party-crx.cloudfunctions.net/widgets2';
|
|
||||||
|
|
||||||
export const PLAYER_STATUS = {
|
export const PLAYER_STATUS = {
|
||||||
PLAYING: 'PLAYING',
|
PLAYING: 'PLAYING',
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ module.exports = async (req, res) => {
|
|||||||
.add({
|
.add({
|
||||||
uid: '<system>',
|
uid: '<system>',
|
||||||
name: '',
|
name: '',
|
||||||
text: `Voice calls are unavailable temporarily.`,
|
text: `Voice calls are unavailable temporarily. Voice calls will be back within 12 hours.`,
|
||||||
time: new Date(),
|
time: new Date(),
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user