diff --git a/cmd/gateway/main.go b/cmd/gateway/main.go index 11d369b..e61acd7 100644 --- a/cmd/gateway/main.go +++ b/cmd/gateway/main.go @@ -226,6 +226,7 @@ func main() { "http://127.0.0.1:3000", "https://techtorque.vercel.app", "https://techtorque.randitha.net", + "https://dev.techtorque.randitha.net", }, AllowedMethods: []string{"GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"}, AllowedHeaders: []string{"Accept", "Authorization", "Content-Type", "X-CSRF-Token"}, diff --git a/config.yaml b/config.yaml index dc2027c..eb613ab 100644 --- a/config.yaml +++ b/config.yaml @@ -36,6 +36,7 @@ services: target_url: "http://localhost:8083" strip_prefix: "/api/v1" auth_required: false # Public endpoint + env_var: "APPOINTMENTS_SERVICE_URL" # Protected appointment endpoints - name: "appointments" @@ -51,6 +52,7 @@ services: target_url: "http://localhost:8083" strip_prefix: "/api/v1" auth_required: true + env_var: "APPOINTMENTS_SERVICE_URL" # --- Service & Project Management Service (Port 8084) --- - name: "services"