mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #2127 from thornbill/standalone-fixes
Remove standalone.js and broken navigation
This commit is contained in:
commit
fb4ac021e4
3 changed files with 4 additions and 10 deletions
|
@ -26,7 +26,7 @@ import './libraryMenu';
|
|||
import './routes';
|
||||
import '../components/themeMediaPlayer';
|
||||
import './autoBackdrops';
|
||||
import { navigate, pageClassOn, serverAddress } from './clientUtils';
|
||||
import { pageClassOn, serverAddress } from './clientUtils';
|
||||
import '../libraries/screensavermanager';
|
||||
import './serverNotifications';
|
||||
import '../components/playback/playerSelectionMenu';
|
||||
|
@ -77,12 +77,9 @@ function loadCoreDictionary() {
|
|||
|
||||
function init() {
|
||||
serverAddress().then(server => {
|
||||
if (!server) {
|
||||
navigate('selectserver.html');
|
||||
return;
|
||||
if (server) {
|
||||
ServerConnections.initApiClient(server);
|
||||
}
|
||||
|
||||
ServerConnections.initApiClient(server);
|
||||
}).then(() => {
|
||||
console.debug('initAfterDependencies promises resolved');
|
||||
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
window.appMode = 'standalone';
|
||||
|
||||
import('./site');
|
|
@ -4,7 +4,7 @@ const merge = require('webpack-merge');
|
|||
|
||||
module.exports = merge(common, {
|
||||
mode: 'development',
|
||||
entry: './scripts/standalone.js',
|
||||
entry: './scripts/site.js',
|
||||
devtool: 'source-map',
|
||||
module: {
|
||||
rules: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue