Initial commit
This commit is contained in:
37
templates/config/frontend/env.js.erb
Normal file
37
templates/config/frontend/env.js.erb
Normal file
@@ -0,0 +1,37 @@
|
||||
window.env = {
|
||||
api: {
|
||||
authUrl: '<%= ssl_helper('http') %>://<%= @config['app']['subdomain'] %>.<%= @config['app']['domain'] %>/api/v2/dalan',
|
||||
tradeUrl: '<%= ssl_helper('http') %>://<%= @config['app']['subdomain'] %>.<%= @config['app']['domain'] %>/api/v2/dena',
|
||||
finexUrl: '<%= ssl_helper('http') %>://<%= @config['app']['subdomain'] %>.<%= @config['app']['domain'] %>/api/v2/finex',
|
||||
applogicUrl: '<%= ssl_helper('http') %>://<%= @config['app']['subdomain'] %>.<%= @config['app']['domain'] %>/api/v2/applogic',
|
||||
rangerUrl: '<%= ssl_helper('ws') %>://<%= @config['app']['subdomain'] %>.<%= @config['app']['domain'] %>/api/v2/ranger',
|
||||
},
|
||||
minutesUntilAutoLogout: '35',
|
||||
withCredentials: false,
|
||||
finex: <%= config['finex']['enabled'] %>,
|
||||
gaTrackerKey: '<%= @config['gaTrackerKey'] %>',
|
||||
ga4TrackerKey: '<%= @config['ga4TrackerKey'] %>',
|
||||
rangerReconnectPeriod: '1',
|
||||
msAlertDisplayTime: '5000',
|
||||
incrementalOrderBook: true,
|
||||
isResizable: false,
|
||||
isDraggable: false,
|
||||
languages: ['en', 'ru'],
|
||||
sessionCheckInterval: '15000',
|
||||
balancesFetchInterval: '3000',
|
||||
passwordEntropyStep: 14,
|
||||
showLanding: <%= @config['app']['show_landing'] %>,
|
||||
sentryEnabled: true,
|
||||
kycSteps: [
|
||||
'profile',
|
||||
'access_phone',
|
||||
'card',
|
||||
'iban',
|
||||
'poa',
|
||||
'telephone',
|
||||
'selfie',
|
||||
'owner_phone',
|
||||
'vip'
|
||||
],
|
||||
captchaLogin: <%= @config['captchaLogin'] %>
|
||||
};
|
||||
Reference in New Issue
Block a user