Permalink
Browse files

🐛 `@phenomic/core`: support query without path for prerendering as it…

…'s supported by database
  • Loading branch information...
MoOx committed Dec 21, 2017
1 parent 7f98a38 commit a32c7dbd095ba16c703e71d30a935f5d509db81f
Showing with 1 addition and 1 deletion.
  1. +1 −1 packages/core/src/prerender/resolve.js
@@ -82,7 +82,7 @@ const resolveURLsForDynamicParams = async function(
}
const mainQuery = getMainQuery(route);
if (!mainQuery.item || !mainQuery.item.path) {
if (!mainQuery.item) {
debug("no valid path detected for", route.path);
return route;
}

0 comments on commit a32c7db

Please sign in to comment.