Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
alextaing committed Nov 3, 2023
1 parent f6da9cf commit da55b5e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/pages/src/dev/server/ssr/parseNonProdUrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ export function parseAsEntityUrl(url: URL): {
}

export function parseAsStaticUrl(url: URL): { staticURL: string } {
const staticURL = decodeURI(url.pathname).substring(1);
return {
staticURL,
staticURL: decodeURI(url.pathname).substring(1),
};
}

Expand Down

0 comments on commit da55b5e

Please sign in to comment.