Skip to content

Commit

Permalink
Add loading area limit from the env file
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Rusakov authored and lanseg committed Dec 3, 2024
1 parent 0c11a86 commit ab3249a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion default_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,4 +377,4 @@ def check_oidc() -> bool:
}

# Limit maximum allowed area of an order, in square meters. 0 for unlimited
MAX_ORDER_AREA=0
MAX_ORDER_AREA=int(os.environ.get("MAX_ORDER_AREA", "0"))

0 comments on commit ab3249a

Please sign in to comment.