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> </head>
<body> <body>
<h2>UVA Be Safe Communicator</h2> <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> <h3>Records to be processed</h3>
{{ pagination.info }} {{ pagination.info }}

View File

@ -50,7 +50,7 @@ MAIL_SENDER = 'askresearch@virginia.edu'
MAIL_TIMEOUT = 10 MAIL_TIMEOUT = 10
# Ivy Directory # 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 endpoint connections
GLOBUS_CLIENT_ID = environ.get('GLOBUS_CLIENT_ID') GLOBUS_CLIENT_ID = environ.get('GLOBUS_CLIENT_ID')