v1.5.2/remove localhost api

This commit is contained in:
2020-07-25 20:15:09 -04:00
parent 5b1a627b7d
commit 960d2af748
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -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',
+1 -1
View File
@@ -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) => {