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*/
|
||||
|
||||
const API_HOST = window.location.href.startsWith('http://localhost')
|
||||
? 'http://localhost:5000/watch-party-crx/us-central1/widgets'
|
||||
: 'https://us-central1-watch-party-crx.cloudfunctions.net/widgets2';
|
||||
const API_HOST = 'https://us-central1-watch-party-crx.cloudfunctions.net/widgets2';
|
||||
|
||||
export const PLAYER_STATUS = {
|
||||
PLAYING: 'PLAYING',
|
||||
|
||||
@@ -54,7 +54,7 @@ module.exports = async (req, res) => {
|
||||
.add({
|
||||
uid: '<system>',
|
||||
name: '',
|
||||
text: `Voice calls are unavailable temporarily.`,
|
||||
text: `Voice calls are unavailable temporarily. Voice calls will be back within 12 hours.`,
|
||||
time: new Date(),
|
||||
})
|
||||
.catch((err) => {
|
||||
|
||||
Reference in New Issue
Block a user