Browse Source

fixed spacing issues

pull/740/head
Stephen Hess 8 years ago
parent
commit
52e7be556f
  1. 20
      routes/v1.js

20
routes/v1.js

@ -183,19 +183,19 @@ function addRoutes(app, peliasConfig) {
// static data endpoints // static data endpoints
app.get ( base, routers.index ); app.get ( base, routers.index );
app.get ( base + 'attribution', routers.attribution ); app.get ( base + 'attribution', routers.attribution );
app.get ( '/attribution', routers.attribution ); app.get ( '/attribution', routers.attribution );
app.get ( '/status', routers.status ); app.get ( '/status', routers.status );
// backend dependent endpoints // backend dependent endpoints
app.get ( base + 'place', routers.place ); app.get ( base + 'place', routers.place );
app.get ( base + 'autocomplete', routers.autocomplete ); app.get ( base + 'autocomplete', routers.autocomplete );
app.get ( base + 'search', routers.search ); app.get ( base + 'search', routers.search );
app.post( base + 'search', routers.search ); app.post( base + 'search', routers.search );
app.get ( base + 'search/structured', routers.structured ); app.get ( base + 'search/structured', routers.structured );
app.get ( base + 'reverse', routers.reverse ); app.get ( base + 'reverse', routers.reverse );
app.get ( base + 'nearby', routers.nearby ); app.get ( base + 'nearby', routers.nearby );
} }

Loading…
Cancel
Save