module.exports = function() {
    
    // this.clientServer = function() { return "localhost:3000" }
    // this.apiServer = function() { return "localhost:2300"}
    
    
    var configurations = {
        
        "localhost": {
            
            "clientServer": "localhost:3000",
            "apiServer": "localhost:2300",
            "serverCommand": "runh",
            "remarks": "Image upload works on host machine"
        },
        
        "jxxmbp.local": {
            
            "clientServer": "jxxmbp.local:3000",
            "apiServer": "jxxmbp.local:2300",
            "serverCommand": "runh",
            "remarks": "Image upload works on host & local machines"
        },
        
        "heroku-local": {
            
            "clientServer": "jxxmbp.local:3000",
            "apiServer": "jxxmbp.local:5000",
            "serverCommand": "heroku local",
            "remarks": "Image upload works on host & local machines"
        },
        
        "heroku&local": {
            
            "clientServer": "jxxmbp.local:3000",
            "apiServer": "sleepy-tundra-14212.herokuapp.com",
            "serverCommand": "-- api server runs remotely",
            "remarks": "Image upload fails with internal server error, Unexpected token I in JSON at positon 0"
        }
    }
    
    var configuration = "jxxmbp.local"
    
    
    this.configuration = function() { return configuration }
    this.clientServer = function() { return configurations[configuration]["clientServer"] }
    this.apiServer = function() { return configurations[configuration]["apiServer"] }
    this.serverCommand = function() { return configurations[configuration]["serverCommand"] }
    this.remarks = function() { return configurations[configuration]["remarks"] }
    
    this.defaultDocumentID = function() { return 11 }
    
}
@@ -1294,16 +1294,376 @@
 iton 0%22%0A
+        %7D,%0A        %0A        %22heroku&heroku%22: %7B%0A            %0A            %22clientServer%22: %22salty-savannah-99428.herokuapp.com%22,%0A            %22apiServer%22: %22sleepy-tundra-14212.herokuapp.com%22,%0A            %22serverCommand%22: %22-- api server runs remotely%22,%0A            %22remarks%22: %22Image upload fails with internal server error, Unexpected token I in JSON at positon 0%22%0A
         
@@ -1700,28 +1700,29 @@
 tion = %22
-jxxmbp.local
+heroku&heroku
 %22%0A    %0A 

Set configuration from both client and api server to be on heroku