Skip to content

Commit

Permalink
removed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
LiveDuo committed Nov 7, 2023
1 parent 0bc560d commit 9cf16f1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/client/vanilla/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ const ContentProviderReact = () => {
return
}

// TODO support non-default routes
const url = location.pathname === '/' ? '/default.html' : `${location.pathname}.html`
const _data = await fetch(url).then((r) => r.text())
setData([{ content: _data, name: location.pathname }])
Expand Down

0 comments on commit 9cf16f1

Please sign in to comment.