From 3bbce45f8acd383794881e2a90a403eadb5b30f0 Mon Sep 17 00:00:00 2001 From: DmsAnhr Date: Tue, 10 Feb 2026 09:36:25 +0700 Subject: [PATCH] update allowed origin --- .gitignore | 1 + core/config.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index a9e762d..1080cb8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .env +.env.prod.txt main_old.py main_mess.py sijalinmaja.json diff --git a/core/config.py b/core/config.py index 69f6bec..dcd106e 100644 --- a/core/config.py +++ b/core/config.py @@ -47,6 +47,9 @@ ALLOWED_ORIGINS = [ "192.168.60.24:5173", "http://labai.polinema.ac.id:666", "https://kkqc31ns-5173.asse.devtunnels.ms" + + "http://192.168.60.24:4000/" + "http://labai.polinema.ac.id:4000/" ] REFERENCE_DB_URL = os.getenv("REFERENCE_DB_URL")