Skip to content

Commit

Permalink
Merge pull request #1920 from thostetler/handle-query-string
Browse files Browse the repository at this point in the history
make search/ handle ?* query strings properly
  • Loading branch information
ehenneken committed Sep 11, 2019
2 parents 848d510 + 11fa0e1 commit befd346
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ http{
}

# the rules below are for push-state
location /search/ {
location /search {
alias /app/production/;
index index.html;
include /etc/nginx/mime.types;
Expand Down
1 change: 1 addition & 0 deletions src/js/apps/discovery/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ define([
'paper-form(/)': 'paperForm',
'index/(:query)': 'index',
'search/(:query)(/)(:widgetName)': 'search',
'search(?:query)': 'search',
'execute-query/(:query)': 'executeQuery',
'abs/*path': 'view',
/*
Expand Down

0 comments on commit befd346

Please sign in to comment.