Skip to content

Commit

Permalink
feat(settings): reuse PUBLIC_URL for APIS_BASE_URI
Browse files Browse the repository at this point in the history
Closes: #107
  • Loading branch information
b1rger committed Oct 17, 2024
1 parent 348e4c0 commit f71b5b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apis_acdhch_default_settings/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@
DJANGO_TABLES2_TEMPLATE = "django_tables2/bootstrap4.html"

# apis-core-rdf settings
APIS_BASE_URI = "TO CHANGE"
if os.environ.get("PUBLIC_URL"):
APIS_BASE_URI = os.environ.get("PUBLIC_URL")
APIS_MIN_CHAR = 0
APIS_NEXT_PREV = True
APIS_LIST_VIEWS_ALLOWED = False
Expand Down

0 comments on commit f71b5b7

Please sign in to comment.