
var loadTemplate = require('../loadTemplate')

var config = require('config')

var federate = require('../federate')
var collateObjects = require('../collateObjects')

function PrefixesEndpoint(req, callback) {

    callback(null, 200, JSON.stringify(config.get('prefixes')))
}

module.exports = federate(PrefixesEndpoint, collateObjects)




var loadTemplate = require('../loadTemplate')

var config = require('config')

var federate = require('../federate')
var collateObjects = require('../collateObjects')

function PrefixesEndpoint(req, callback) {

    callback(null, 200, {
        mimeType: 'application/json',
        body: JSON.stringify(config.get('prefixes'))
    })

}

module.exports = federate(PrefixesEndpoint, collateObjects)



Update prefixes endpoint for federation
Update prefixes endpoint for federation
