-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathenvironment.js
108 lines (89 loc) · 3.24 KB
/
environment.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
/* jshint node: true */
module.exports = function (environment) {
var ENV = {
modulePrefix: 'open-ethereum-pool',
environment: environment,
rootURL: '/',
locationType: 'hash',
EmberENV: {
FEATURES: {
// Here you can enable experimental features on an ember canary build
// e.g. 'with-controller': true
}
},
APP: {
// API host and port
ApiUrl: '//192.168.0.200/',
// HTTP mining endpoint
HttpHost: '192.168.0.200',
HttpPort: 8888,
// Stratum mining endpoint
StratumHost: '192.168.0.200',
StratumPort: 8008,
NicehashHost: '192.168.0.200',
NicehashPost: 8089,
// Fee and payout details
PoolFee: '0%',
PayoutThreshold: '0.01',
ShareDifficulty: '2000000000',
//Current and Localization
Currency: 'USD',
CoinName: 'EthereumX',
CoinShortName: 'ETX',
PaymentText: 'every 2 hours',
SupportMail: '[email protected]',
SupportHelpdesk: 'http://helpdesk.daggerpool.com',
WebsiteName: '192.168.0.200',
//Coin Bases Settings
ChainAddress : 'http://www.ethereumx.xyz/address.html',
TransactionAddress : 'http://www.ethereumx.xyz/transations.html',
UncleAddress : 'http://www.ethereumx.xyz',
BlockAddress : 'http://www.ethereumx.xyz/blocklist.html',
//Twitter Parameter
TwitterURL: 'https://twitter.com/',
TwitterHash: 'daggerpool_com',
// For network hashrate (change for your favourite fork)
BlockTime: 15
}
};
if (environment === 'development') {
/* Override ApiUrl just for development, while you are customizing
frontend markup and css theme on your workstation.
*/
ENV.APP.ApiUrl = 'https://eth.daggerpool.com/'
// ENV.APP.LOG_RESOLVER = true;
// ENV.APP.LOG_ACTIVE_GENERATION = true;
// ENV.APP.LOG_TRANSITIONS = true;
// ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
// ENV.APP.LOG_VIEW_LOOKUPS = true;
}
if (environment === 'test') {
// Testem prefers this...
ENV.locationType = 'none';
// keep test console output quieter
ENV.APP.LOG_ACTIVE_GENERATION = false;
ENV.APP.LOG_VIEW_LOOKUPS = false;
ENV.APP.rootElement = '#ember-testing';
}
if (environment === 'production') {
ENV.baseURL = '/ember-cli-twitter-feed/';
}
ENV.contentSecurityPolicy = {
'script-src': [
"'self'",
'https://syndication.twitter.com',
'https://cdn.syndication.twimg.com',
"'sha256-XnNQECY9o-nIv2Qgcd1A39YarwxTm10rhdzegH_JBxY='"],
'style-src': [
"'self'",
'http://platform.twitter.com',
"'sha256-zCvYlDs6LsUp0EqrJFjIGUiM_AG2fGlkNrzJ2YiBTG0='"],
'img-src': [
"'self'",
'data:',
'https://pbs.twimg.com',
'https://syndication.twitter.com',
'http://platform.twitter.com']
};
return ENV;
};