Use new routes configuration schema in ported test
This commit is contained in:
parent
c51e254287
commit
976ee35a35
@ -13,16 +13,20 @@ module.exports = _.extend({}, serverOptions, {
|
||||
base_url_mapconfig: '/database/:dbname/layergroup',
|
||||
|
||||
routes: {
|
||||
api: {
|
||||
v0: {
|
||||
paths: [
|
||||
'/tiles',
|
||||
'/database/:dbname'
|
||||
],
|
||||
// Base url for the Detached Maps API
|
||||
// "/tiles/layergroup" is for compatibility with versions up to 1.6.x
|
||||
map: {
|
||||
paths: [
|
||||
'/layergroup'
|
||||
]
|
||||
},
|
||||
// Base url for the Templated Maps API
|
||||
// "/tiles/template" is for compatibility with versions up to 1.6.x
|
||||
template: {
|
||||
paths: [
|
||||
'/template'
|
||||
@ -31,6 +35,7 @@ module.exports = _.extend({}, serverOptions, {
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
grainstore: {
|
||||
datasource: {
|
||||
geometry_field: 'the_geom',
|
||||
|
Loading…
Reference in New Issue
Block a user