From c0885f5e5a6454609568155ec668784bcdd278ba Mon Sep 17 00:00:00 2001 From: ditatompel Date: Wed, 19 Jun 2024 16:25:53 +0700 Subject: [PATCH] chore: default ACCEPT_TOR and APP_PREFORK to false Also change allow-origin CORS from ditatompel.com to xmr.ditatompel.com --- .env.example | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.env.example b/.env.example index fea2525..d37fbd6 100644 --- a/.env.example +++ b/.env.example @@ -6,18 +6,18 @@ LOG_LEVEL=INFO # can be DEBUG, INFO, WARN, ERROR # ############# SERVER_ENDPOINT="http://127.0.0.1:18901" API_KEY= -ACCEPT_TOR=true +ACCEPT_TOR=false TOR_SOCKS="127.0.0.1:9050" # Server Config # ############# # Fiber Config -APP_PREFORK=true +APP_PREFORK=false APP_HOST="127.0.0.1" APP_PORT=18090 -APP_PROXY_HEADER="X-Real-Ip" # CF-Connecting-IP -APP_ALLOW_ORIGIN="http://localhost:5173,http://127.0.0.1:5173,https://ditatompel.com" +APP_PROXY_HEADER="X-Real-Ip" # `CF-Connecting-IP` if using Cloudflare +APP_ALLOW_ORIGIN="http://localhost:5173,http://127.0.0.1:5173,https://xmr.ditatompel.com" #DB settings: DB_HOST=127.0.0.1