diff options
author | prashantsinalkar | 2019-09-26 18:42:05 +0530 |
---|---|---|
committer | prashantsinalkar | 2019-09-26 18:42:05 +0530 |
commit | 3e27e89873a65071f1f9cfcf0bef3e3b9a68f09c (patch) | |
tree | 00649ccd686e21bb7d3e30e2aa639c8f3c5b8b6e /R_on_Cloud | |
parent | da5988d90055b9cc7deea8dbba70cfba553cd77c (diff) | |
download | R_on_Cloud_Web_Interface-3e27e89873a65071f1f9cfcf0bef3e3b9a68f09c.tar.gz R_on_Cloud_Web_Interface-3e27e89873a65071f1f9cfcf0bef3e3b9a68f09c.tar.bz2 R_on_Cloud_Web_Interface-3e27e89873a65071f1f9cfcf0bef3e3b9a68f09c.zip |
updated settings and file upload code and auth token
Diffstat (limited to 'R_on_Cloud')
-rw-r--r-- | R_on_Cloud/default_config.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/R_on_Cloud/default_config.py b/R_on_Cloud/default_config.py index e328b78..59e091c 100644 --- a/R_on_Cloud/default_config.py +++ b/R_on_Cloud/default_config.py @@ -13,9 +13,13 @@ DB_PORT_R_FOSSEE_IN = '' BIN = '/usr/bin/R' API_URL = "http://127.0.0.1:8001/rscript" -API_URL_UPLOAD = "http://127.0.0.1:8001/upload" +API_URL_UPLOAD = "http://127.0.0.1:8001/upload-temp-file" API_URL_PLOT = "http://127.0.0.1:8001/file" API_URL_SERVER = "http://127.0.0.1:8001/" +AUTH_KEY = 'Secret key' # Same key as in web API +API_URL_RESET = "http://127.0.0.1:8001/reset" + + UPLOADS_PATH = "TBC upload directory path" MAIN_REPO = "TBC upload directory path" |