Skip to content

Commit de64f27

Browse files
committed
why does svelte care about this
1 parent bee1bab commit de64f27

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

svelte.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export default {
1515
handleHttpError: ({ path, referrer, message }) => {
1616
// https://svelte.dev/docs/kit/configuration#prerender
1717
if (path && path.startsWith("/api")) return; // whatever bro js render
18+
if (path && path.includes("https://")) return; // whatever bro js render
1819
switch (path) {
1920
case "/error":
2021
case "/contact.html":

0 commit comments

Comments
 (0)