Skip to content

Commit

Permalink
Update template.html
Browse files Browse the repository at this point in the history
  • Loading branch information
ang-zeyu committed Dec 13, 2021
1 parent f23a811 commit 766ae83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/search-ui/public/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ <h1 class="app-heading">Morsels Dev Site</h1>
const params = new URLSearchParams(window.location.search);
const mode = params.get('mode') || 'auto';
const url = params.get('url') || `http://${defaultHost}:3000/output/`;
const resultsPerPage = params.get('resultsPerPage') || 8;
const resultsPerPage = Number(params.get('resultsPerPage')) || 8;
const sourceFilesUrl = params.get('sourceFilesUrl') || `http://${defaultHost}:3000/source/`;

initMorsels({
Expand Down

0 comments on commit 766ae83

Please sign in to comment.