Skip to content

Commit

Permalink
불필요 주석제거
Browse files Browse the repository at this point in the history
  • Loading branch information
rjc1704 committed May 19, 2023
1 parent 8665e13 commit e0547b3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ const handleLocation = async () => {
if (path.length == 0) {
path = "/";
}
// const route = routes[path] || routes[404];

// const html = await fetch(route).then((data) => data.text());
const html = routes[path] || routes[404];

document.getElementById("root").innerHTML = html;
Expand Down

0 comments on commit e0547b3

Please sign in to comment.