diff --git a/containercontent/opt/chatbot_engine/chatbot/__pycache__/urls.cpython-37.pyc b/containercontent/opt/chatbot_engine/chatbot/__pycache__/urls.cpython-37.pyc index 46d49c6..04aec55 100644 Binary files a/containercontent/opt/chatbot_engine/chatbot/__pycache__/urls.cpython-37.pyc and b/containercontent/opt/chatbot_engine/chatbot/__pycache__/urls.cpython-37.pyc differ diff --git a/containercontent/opt/chatbot_engine/chatbot/urls.py b/containercontent/opt/chatbot_engine/chatbot/urls.py index b7dd5cc..59138a2 100644 --- a/containercontent/opt/chatbot_engine/chatbot/urls.py +++ b/containercontent/opt/chatbot_engine/chatbot/urls.py @@ -4,5 +4,5 @@ from django.conf.urls import url from . import controller_ae urlpatterns = [ - path('/chatbot', controller_ae.ae) + path('chatbot', controller_ae.ae) ] diff --git a/containercontent/opt/chatbot_engine/dialogAssistent/__pycache__/urls.cpython-37.pyc b/containercontent/opt/chatbot_engine/dialogAssistent/__pycache__/urls.cpython-37.pyc index d952959..eb3f8a7 100644 Binary files a/containercontent/opt/chatbot_engine/dialogAssistent/__pycache__/urls.cpython-37.pyc and b/containercontent/opt/chatbot_engine/dialogAssistent/__pycache__/urls.cpython-37.pyc differ diff --git a/containercontent/opt/chatbot_engine/dialogAssistent/__pycache__/views.cpython-37.pyc b/containercontent/opt/chatbot_engine/dialogAssistent/__pycache__/views.cpython-37.pyc index ad31035..e1387da 100644 Binary files a/containercontent/opt/chatbot_engine/dialogAssistent/__pycache__/views.cpython-37.pyc and b/containercontent/opt/chatbot_engine/dialogAssistent/__pycache__/views.cpython-37.pyc differ diff --git a/containercontent/opt/chatbot_engine/dialogAssistent/settings.py b/containercontent/opt/chatbot_engine/dialogAssistent/settings.py index e5ed6fd..c1a3966 100644 --- a/containercontent/opt/chatbot_engine/dialogAssistent/settings.py +++ b/containercontent/opt/chatbot_engine/dialogAssistent/settings.py @@ -25,7 +25,7 @@ SECRET_KEY = '-h)4epd%%i5h7j^q28(b3oezib!9z+lo19z(t_$y1*rbf!*@*2' # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = ['k1z06s042.komm.one', '127.0.0.1', '0.0.0.0', '89.58.12.121','voicebot.digitalakademie-bw.de'] +ALLOWED_HOSTS = ['k1z06s042.komm.one', '127.0.0.1', '0.0.0.0', 'fz.komm.one'] # Application definition diff --git a/containercontent/opt/chatbot_engine/dialogAssistent/urls.py b/containercontent/opt/chatbot_engine/dialogAssistent/urls.py index 088b343..762f6db 100644 --- a/containercontent/opt/chatbot_engine/dialogAssistent/urls.py +++ b/containercontent/opt/chatbot_engine/dialogAssistent/urls.py @@ -20,9 +20,9 @@ from . import views urlpatterns = [ path('admin/', admin.site.urls), path('chatbot/', views.index_ae), -path('Über/', views.ueber), -path('Kontakt/', views.kontakt), -path('chatbot/Über/', views.ueber), -path('chatbot/Kontakt/', views.kontakt), +path('ueber/', views.ueber), +path('kontakt/', views.kontakt), +path('chatbot/ueber/', views.ueber), +path('chatbot/kontakt/', views.kontakt), path('chatbot', include("chatbot.urls")) ] diff --git a/containercontent/opt/chatbot_engine/dialogAssistent/views.py b/containercontent/opt/chatbot_engine/dialogAssistent/views.py index 32daa51..d06094f 100644 --- a/containercontent/opt/chatbot_engine/dialogAssistent/views.py +++ b/containercontent/opt/chatbot_engine/dialogAssistent/views.py @@ -47,11 +47,11 @@ def index_ae(request, str='chatbot/chatbot'): def ueber(request): - template = loader.get_template('Über.html') + template = loader.get_template('ueber.html') return HttpResponse(template.render({}, request)) def kontakt(request): - template = loader.get_template('Kontakt.html') + template = loader.get_template('kontakt.html') return HttpResponse(template.render({}, request)) diff --git a/containercontent/opt/chatbot_engine/templates/template_ae.html b/containercontent/opt/chatbot_engine/templates/template_ae.html index 0c6bb93..1ac289f 100644 --- a/containercontent/opt/chatbot_engine/templates/template_ae.html +++ b/containercontent/opt/chatbot_engine/templates/template_ae.html @@ -41,10 +41,10 @@
  • Home
  • - +
  • Über
  • - +
  • Kontakt