Hello, I have problem, if I run my code at localhost, everything went good. But If I run my code at production server. Its give me this error
URIError: URI malformed
at decodeURIComponent (native)
at Url.parse (url.js:173:21)
at Object.urlParse as parse
at Object.exports.connect (/opt/betfair/node_modules/orm/lib/ORM.js:72:14)
at new sModel (/opt/betfair/models/sModel.js:17:18)
at Object.module.exports.checkApiKey (/opt/betfair/services/Api.js:560:13)
at Object.handle (/opt/betfair/http.js:45:9)
at next_layer (/opt/betfair/node_modules/express/lib/router/route.js:103:13)
at Route.dispatch (/opt/betfair/node_modules/express/lib/router/route.js:107:5)
at /opt/betfair/node_modules/express/lib/router/index.js:205:24
Hello, I have problem, if I run my code at localhost, everything went good. But If I run my code at production server. Its give me this error
URIError: URI malformed at decodeURIComponent (native) at Url.parse (url.js:173:21) at Object.urlParse as parse at Object.exports.connect (/opt/betfair/node_modules/orm/lib/ORM.js:72:14) at new sModel (/opt/betfair/models/sModel.js:17:18) at Object.module.exports.checkApiKey (/opt/betfair/services/Api.js:560:13) at Object.handle (/opt/betfair/http.js:45:9) at next_layer (/opt/betfair/node_modules/express/lib/router/route.js:103:13) at Route.dispatch (/opt/betfair/node_modules/express/lib/router/route.js:107:5) at /opt/betfair/node_modules/express/lib/router/index.js:205:24