File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,9 +46,12 @@ or QT debug console)
4646## Configuring for Production Use
4747Before deploying syscoin-api for production use you will need to modify the following files:
4848
49- 1 . ` host ` value in ` /api/swagger.yaml `
50- 1 . ` swaggerSpec.host ` value located in ` ../../swagger-ui/dist/swagger-spec.js `
49+ 1 . ` host ` value in [ ` /api/swagger.yaml ` ] ( api/swagger.yaml )
50+ 1 . ` swaggerSpec.host ` value located in [ ` ../../swagger-ui/dist/swagger-spec.js ` ] ( ../../swagger-ui/dist/swagger-spec.js )
51+ 1 . ` HOST ` value in [ ` /spec/config.js ` ] ( spec/config.js )
5152
52- In both these files modify the ` host ` value from ` localhost:8001 ` to ` SERVERIP:8001 ` . Replacing SERVERIP with your server's
53- production IP or domain. You can also optionally change the port. It is highly recommended that you allow only HTTPS
54- access in production and secure connections with a valid SSL certificate.
53+ In all these files modify the specified value from ` localhost:8001 ` to ` SERVERIP:8001 ` . Replacing ` SERVERIP ` with your server's
54+ production IP or domain. You can also optionally change the port.
55+
56+ ** It is highly recommended that you allow only HTTPS
57+ access in production deployments and secure all connections with a valid SSL certificate. Failure to do this can expose the wallet to attack.**
Original file line number Diff line number Diff line change 11module . exports = {
22 HOST : "http://localhost:8001/" , //include trailing slash
3- DEBUG_ENABLED : true ,
3+ DEBUG_ENABLED : false ,
44
55 TEST_ALIAS_PEG : "sysrates.peg" ,
66 TEST_ALIAS : "testuser" ,
You can’t perform that action at this time.
0 commit comments