From c0d10951b269403c18fe9b3e12601eb49cc40dea Mon Sep 17 00:00:00 2001 From: stupidcomputer Date: Fri, 28 Jun 2024 16:54:57 -0500 Subject: [PATCH] tiny changes --- Makefile | 2 +- franklincce/franklincce/settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e5a8010..b7cc5b3 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ prod: # execute this target on the production server in the nix-shell - rm -r franklincce/staticfiles + rm -fr franklincce/staticfiles cd franklincce; python3 manage.py collectstatic sed "s/change_me/$(shell shuf -i1-1000000 -n1)/g" .env.prod.orig > .env.prod sed "s|change_me|$(shell dd if=/dev/urandom bs=1024 count=1|base64)|g" .env.prod.orig > .env.prod diff --git a/franklincce/franklincce/settings.py b/franklincce/franklincce/settings.py index ef56491..4a56915 100644 --- a/franklincce/franklincce/settings.py +++ b/franklincce/franklincce/settings.py @@ -125,4 +125,4 @@ STATIC_ROOT = BASE_DIR / "staticfiles" DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' -CSRF_TRUSTED_ORIGINS = ["http://localhost:1337"] +CSRF_TRUSTED_ORIGINS = ["http://localhost:1337", "https://franklincce.beepboop.systems"]