Skip to content
Snippets Groups Projects
Commit 3316e4a3 authored by Auke Klazema's avatar Auke Klazema
Browse files

TMSS-477: Fix case issue in path

parent 38c5998c
No related branches found
No related tags found
1 merge request!278Resolve TMSS-477
......@@ -155,7 +155,7 @@ ROOT_URLCONF = 'lofar.sas.tmss.tmss.urls'
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [BASE_DIR, os.path.join(BASE_DIR, 'templates'), os.path.join(os.environ.get('LOFARROOT'), 'SAS/TMSS/frontend','tmss_webapp')],
'DIRS': [BASE_DIR, os.path.join(BASE_DIR, 'templates'), os.path.join(os.environ.get('LOFARROOT'), 'sas/tmss/frontend','tmss_webapp')],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
......@@ -169,7 +169,7 @@ TEMPLATES = [
]
STATICFILES_DIRS = [
os.path.join(os.environ.get('LOFARROOT'), 'SAS/TMSS/frontend','tmss_webapp/build/static')
os.path.join(os.environ.get('LOFARROOT'), 'sas/tmss/frontend','tmss_webapp/build/static')
]
WSGI_APPLICATION = 'lofar.sas.tmss.tmss.wsgi.application'
......
......@@ -35,7 +35,7 @@ def subtask_parset(request, subtask_pk:int):
def index(request):
return render(request, os.path.join(os.environ.get('LOFARROOT'), 'SAS/TMSS/frontend','tmss_webapp/build/index.html'))
return render(request, os.path.join(os.environ.get('LOFARROOT'), 'sas/tmss/frontend','tmss_webapp/build/index.html'))
#return render(request, "../../../frontend/frontend_poc/build/index.html")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment