Skip to content

Commit

Permalink
fix: more precise urlResolved assert (#2197)
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Feb 19, 2025
1 parent 707f467 commit 6f064ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vike/shared/getPageContextUrlComputed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function getUrlParsed(pageContext: PageContextUrlSource) {
// Determine logical URL
const assertUrlResolved = (src: number) =>
assert(
urlResolved && typeof urlResolved === 'string',
typeof urlResolved === 'string',
// TODO/eventually: remove debug logs, see:
// - https://github.com/vikejs/vike/issues/2138#issuecomment-2631713411
// - https://github.com/vikejs/vike/commit/5c7810f3080ab62536950f26e019bb2a3a517082
Expand Down

0 comments on commit 6f064ad

Please sign in to comment.