Skip to content

Commit

Permalink
add support for TAXHUB_STATIC_FOLDER env var
Browse files Browse the repository at this point in the history
  • Loading branch information
bouttier committed Nov 21, 2022
1 parent abf0164 commit 19eb3fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apptax/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def configure_alembic(alembic_config):


def create_app():
app = Flask(__name__, static_folder="../static")
app = Flask(__name__, static_folder=os.environ.get("TAXHUB_STATIC_FOLDER", "../static"))

app.config.from_pyfile(os.environ.get("TAXHUB_SETTINGS", "config.py"))
app.config.from_prefixed_env(prefix="TAXHUB")
Expand Down

0 comments on commit 19eb3fb

Please sign in to comment.