moved to hash history

This commit is contained in:
Cássio Zen
2016-07-20 15:51:49 -03:00
parent d7324bd743
commit bb817aa683
3 changed files with 4 additions and 16 deletions

View File

@ -2,7 +2,6 @@ import yaml from 'js-yaml';
import { currentBackend } from '../backends/backend';
import { authenticate } from '../actions/auth';
import * as MediaProxy from '../valueObjects/MediaProxy';
import basePath from '../routing/basePath';
export const CONFIG_REQUEST = 'CONFIG_REQUEST';
export const CONFIG_SUCCESS = 'CONFIG_SUCCESS';
@ -44,7 +43,7 @@ export function loadConfig(config) {
return (dispatch, getState) => {
dispatch(configLoading());
fetch(`${basePath}/config.yml`).then((response) => {
fetch('config.yml').then((response) => {
if (response.status !== 200) {
throw `Failed to load config.yml (${response.status})`;
}