Commit 4a7ae1c5 authored by ale's avatar ale

make the upload server location a configurable parameter

parent b0b3c26d
......@@ -24,3 +24,4 @@ class Globals(object):
self.local_storage = LocalStorage(config['local_storage_path'])
self.jobserver = JobServer(server=config['jobserver_url'])
self.uploadserver_host = config['uploadserver_host']
......@@ -15,7 +15,7 @@ file_delete_url = '${h.url_for(action='delete_file')}';
file_reprocess_url = '${h.url_for(action='schedule_job', j_action='process')}';
file_identify_url = '${h.url_for(action='schedule_job', j_action='identify')}';
token = '';
uploadserverUrl = 'http://test2a.ngvision.org/_uploadserver';
uploadserverUrl = 'http://${g.uploadserver_host}/_uploadserver';
//var username = '${h.logged_author().username}';
$(document).ready(function() {
updateTypeGroup();
......
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