Skip to content

Commit

Permalink
Fix search route conflict (Issue apihackers#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsyed committed Jan 7, 2018
1 parent 32bab6a commit a8241ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devpi_semantic_ui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ def devpiserver_pyramid_configure(config, pyramid_config):


def includeme(config):
config.add_route('searchapi', '/+search', accept='application/json')
config.add_route('searchapi', '/+search', header='Accept:application/json')
config.scan()

0 comments on commit a8241ce

Please sign in to comment.