From 29580cefc292f9c95c745b2427144a9f6f00728a Mon Sep 17 00:00:00 2001 From: Rakha Abid Bangsawan <104017246+rakbidb@users.noreply.github.com> Date: Mon, 13 Nov 2023 15:32:06 +0700 Subject: [PATCH] Update settings.py --- arto_moro_pbp/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arto_moro_pbp/settings.py b/arto_moro_pbp/settings.py index 420b2f4..17e7856 100644 --- a/arto_moro_pbp/settings.py +++ b/arto_moro_pbp/settings.py @@ -32,7 +32,7 @@ DEBUG = True ALLOWED_HOSTS = ["*"] -CORS_ALLOW_ALL_ORIGINS = True +CSRF_TRUSTED_ORIGINS = ['*'] # Application definition