Update config.py
Browse files
config.py
CHANGED
|
@@ -68,8 +68,10 @@ class Config:
|
|
| 68 |
HOST: str = os.getenv("CB_HOST", "0.0.0.0")
|
| 69 |
PORT: int = int(os.getenv("CB_PORT", "7860"))
|
| 70 |
|
|
|
|
| 71 |
ALLOWED_ORIGINS: list = [
|
| 72 |
-
"https://
|
|
|
|
| 73 |
"http://localhost:8788", "http://127.0.0.1:8788",
|
| 74 |
"http://localhost:5502", "http://127.0.0.1:5502",
|
| 75 |
"http://localhost:5501", "http://127.0.0.1:5501",
|
|
|
|
| 68 |
HOST: str = os.getenv("CB_HOST", "0.0.0.0")
|
| 69 |
PORT: int = int(os.getenv("CB_PORT", "7860"))
|
| 70 |
|
| 71 |
+
# PERBARUI BAGIAN INI SENSEI:
|
| 72 |
ALLOWED_ORIGINS: list = [
|
| 73 |
+
"https://hf.space", # <-- Wajib didaftarkan untuk Hugging Face Embed
|
| 74 |
+
"https://andhikagg-xa.hf.space", # <-- URL langsung Space milik Sensei
|
| 75 |
"http://localhost:8788", "http://127.0.0.1:8788",
|
| 76 |
"http://localhost:5502", "http://127.0.0.1:5502",
|
| 77 |
"http://localhost:5501", "http://127.0.0.1:5501",
|