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',
|
base_url_mapconfig: '/database/:dbname/layergroup',
|
||||||
|
|
||||||
routes: {
|
routes: {
|
||||||
api: {
|
v0: {
|
||||||
paths: [
|
paths: [
|
||||||
'/tiles',
|
'/tiles',
|
||||||
'/database/:dbname'
|
'/database/:dbname'
|
||||||
],
|
],
|
||||||
|
// Base url for the Detached Maps API
|
||||||
|
// "/tiles/layergroup" is for compatibility with versions up to 1.6.x
|
||||||
map: {
|
map: {
|
||||||
paths: [
|
paths: [
|
||||||
'/layergroup'
|
'/layergroup'
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
// Base url for the Templated Maps API
|
||||||
|
// "/tiles/template" is for compatibility with versions up to 1.6.x
|
||||||
template: {
|
template: {
|
||||||
paths: [
|
paths: [
|
||||||
'/template'
|
'/template'
|
||||||
@ -31,6 +35,7 @@ module.exports = _.extend({}, serverOptions, {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
grainstore: {
|
grainstore: {
|
||||||
datasource: {
|
datasource: {
|
||||||
geometry_field: 'the_geom',
|
geometry_field: 'the_geom',
|
||||||
|
Loading…
Reference in New Issue
Block a user