Adding and updating Servers, fixes #524
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
|
||||
import { createStore, applyMiddleware, combineReducers } from 'redux';
|
||||
|
||||
import thunk from 'redux-thunk';
|
||||
|
||||
import { generateGuid } from '../util/helpers';
|
||||
@ -61,6 +60,7 @@ let state = {
|
||||
host: window.location.hostname,
|
||||
port: (window.location.port ? window.location.port : (window.location.protocol === 'https:' ? '443' : '80')),
|
||||
ssl: (window.location.protocol === 'https:'),
|
||||
current_server: 'default',
|
||||
servers: {
|
||||
default: {
|
||||
id: 'default',
|
||||
|
||||
Reference in New Issue
Block a user