Attention une mise à jour du serveur va être effectuée le lundi 17 mai entre 13h et 13h30. Cette mise à jour va générer une interruption du service de quelques minutes.

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 = "";
//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