diff --git a/server.js b/server.js index dae1db32..c14fc827 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 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 }));