From ddd61751f0a52565fcf93670aa85a1009741e323 Mon Sep 17 00:00:00 2001 From: msinkec Date: Wed, 10 Mar 2021 20:01:21 +0100 Subject: [PATCH] Fixed merging bug in app.py --- Dockerfile | 2 +- app.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 43dfff4..39f1d6f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ COPY config.ini /usr/src/portal-webapp/ COPY templates /usr/src/portal-webapp/templates COPY static /usr/src/portal-webapp/static COPY contract/ /usr/src/portal-webapp/contract -COPY portal/ /usr/src/portal-webapp/contract +COPY portal/ /usr/src/portal-webapp/portal WORKDIR /usr/src/portal-webapp RUN apt-get update && apt-get -y install wkhtmltopdf && \ diff --git a/app.py b/app.py index 847d2a2..1dd90a8 100644 --- a/app.py +++ b/app.py @@ -81,7 +81,7 @@ app.config.update( dropzone = Dropzone(app) -@app.route(URL_ROOT) +@app.route('/') def index(): return render_template('index.html')