check config location

This commit is contained in:
antelle 2017-08-30 18:52:54 +02:00
parent 719d72bd86
commit b29615b5aa
2 changed files with 6 additions and 0 deletions

View File

@ -54,6 +54,9 @@ const AppModel = Backbone.Model.extend({
loadConfig: function(configLocation) {
return new Promise((resolve, reject) => {
if (configLocation.indexOf('//') >= 0) {
throw 'Config must be located on the same domain';
}
this.appLogger.debug('Loading config from', configLocation);
const ts = this.appLogger.ts();
const xhr = new XMLHttpRequest();

View File

@ -8,6 +8,9 @@ Release notes
`-` fixed auto-closing tab when starting from link
`-` fixed tray icon click crash
##### v1.5.5 (2017-08-30)
`-` fixed some security issues
##### v1.5.4 (2017-06-03)
`-` fix #649: loading keyfiles with path
`-` fix #645: layout issues while switching table view