Skip to content

Commit df7c2fc

Browse files
committed
oops
1 parent 1752dea commit df7c2fc

File tree

1 file changed

+1
-1
lines changed
  • packages/site-kit/src/lib/markdown

1 file changed

+1
-1
lines changed

packages/site-kit/src/lib/markdown/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,5 +144,5 @@ const parse = (str: string) => {
144144
* deployments and when developing locally
145145
*/
146146
export function strip_origin(str: string) {
147-
return str.replaceAll('https://svelte.dev', '');
147+
return str && str.replaceAll('https://svelte.dev', '');
148148
}

0 commit comments

Comments
 (0)