Commit d498b824 authored by Mikaël Salson's avatar Mikaël Salson

crossDomain.js: config may be defined without config.proxy

parent 319b2d1e
......@@ -171,7 +171,7 @@ function imgtPostForSegmenter(data, system) {
//disabled due to security concerns
//form.action = "http://www.imgt.org/IMGT_vquest/vquest";
//using proxy on server to allow requests on other site than vidjil one's in JS.
if (typeof config != 'undefined') {
if (typeof config != 'undefined' && typeof config.proxy != 'undefined') {
form.action = config.proxy
} else {
form.action = PROXY_ADDRESS;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment