Files
Shahoo/public/config/env.js
2026-08-13 20:26:04 +03:30

24 lines
757 B
JavaScript

// Local dev defaults. Production/staging: Alvand-P renders config/frontend/shahoo.env.js
// from app.yml (captcha.siteKey) and mounts it over this file in the Shahoo container.
window.env = window.env || {
app: {
domain: "fibitex.com",
name: "اکسفا",
brandName: "اکسفا",
exchangeSlug: "fibitex",
},
api: {
// Same-origin via Traefik on shahoo.* → gateway/rango (WS0.1 / WS0.2).
// Local Docker: ws://shahoo.app.local/api/v2/ranger
rangerUrl: `${window.location.protocol === "https:" ? "wss" : "ws"}://${window.location.host}/api/v2/ranger`,
},
rangerEnabled: true,
incrementalOrderBook: true,
captcha: {
captchaType: "recaptcha",
siteKey: "",
},
captchaLogin: true,
showLanding: true,
};