import directory must be configurable.

fixing invalid routes on index files.
This commit is contained in:
Dan Funk 2020-09-23 21:53:03 -04:00
parent d6b639ca23
commit f7a4909497
2 changed files with 2 additions and 3 deletions

View File

@ -13,8 +13,7 @@
</head>
<body>
<h2>UVA Be Safe Communicator</h2>
<a href="invitation">Send Invitations</a> | <a href="imported_files">View imported files</a>
<a href="{{base_href + '/invitation'}}">Send Invitations</a> | <a href="{{base_href + '/imported_files'}}">View imported files</a>
<h3>Records to be processed</h3>
{{ pagination.info }}

View File

@ -50,7 +50,7 @@ MAIL_SENDER = 'askresearch@virginia.edu'
MAIL_TIMEOUT = 10
# Ivy Directory
IVY_IMPORT_DIR = os.path.join(basedir, '..', 'example_ivy_data')
IVY_IMPORT_DIR = environ.get('IVY_IMPORT_DIR', default='')
# Globus endpoint connections
GLOBUS_CLIENT_ID = environ.get('GLOBUS_CLIENT_ID')