fix
This commit is contained in:
parent
5496146053
commit
c048415428
4
app.py
4
app.py
@ -1,10 +1,6 @@
|
||||
from flask import Flask, render_template, url_for, request, redirect, Response, abort, session
|
||||
from flask_sqlalchemy import SQLAlchemy
|
||||
from werkzeug.middleware.proxy_fix import ProxyFix
|
||||
from datetime import datetime
|
||||
import magic
|
||||
import random
|
||||
import string
|
||||
|
||||
app = Flask(__name__)
|
||||
app.wsgi_app = ProxyFix(app.wsgi_app, x_proto=1, x_host=1)
|
||||
|
2
entrypoint.sh
Normal file → Executable file
2
entrypoint.sh
Normal file → Executable file
@ -3,7 +3,7 @@
|
||||
BASE=$(dirname $0)
|
||||
cd $BASE
|
||||
git pull
|
||||
if [ -d env ];
|
||||
if [ ! -d env ];
|
||||
then
|
||||
python3 -m venv env
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user