From 123046a15d1d36312cb0d90880f4ed2428e071d3 Mon Sep 17 00:00:00 2001 From: MagicalCodeMonkey Date: Thu, 26 Mar 2020 15:38:38 -0400 Subject: [PATCH 1/2] Fix server port variable --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index d8b1ae33..c1d7c253 100644 --- a/server.js +++ b/server.js @@ -22,7 +22,7 @@ root.use((req, res, next) => { }); const ptserver = express(); -const PORT = process.env.server_port || 8089; +const PORT = process.env.SERVER_PORT || 8089; // Setup our PTServer From becca33a87cd5cb962a7a70fec8490e549aad407 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 27 Mar 2020 19:11:40 +1000 Subject: [PATCH 2/2] Revert "Add a dialog to disable popup blocking" --- src/components/signin.vue | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/src/components/signin.vue b/src/components/signin.vue index 1d33edaf..b4e51b01 100644 --- a/src/components/signin.vue +++ b/src/components/signin.vue @@ -47,14 +47,6 @@ - - -
- It appears that your browser is blocking popups.
- Please enable popups for this site and try again. -
-
-
@@ -83,7 +75,6 @@ export default { ready: false, openedWindow: null, authError: null, - popupBlockerDialog: false, }; }, methods: { @@ -128,17 +119,11 @@ export default { newWindow = window.open(this.url, '_blank'); } - if (!newWindow) { - clearInterval(this.ticker); - this.popupBlockerDialog = true; - } - else { - // Puts focus on the newWindow - if (window.focus) { - newWindow.focus(); - } - this.openedWindow = newWindow; + // Puts focus on the newWindow + if (window.focus) { + newWindow.focus(); } + this.openedWindow = newWindow; }, async setAuth(authToken) { window.localStorage.setItem('plexuser', JSON.stringify({ authToken: authToken }));