Initial commit
This commit is contained in:
23
public/config/env.js
Normal file
23
public/config/env.js
Normal file
@@ -0,0 +1,23 @@
|
||||
// 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,
|
||||
};
|
||||
Reference in New Issue
Block a user