Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasTJdev committed Dec 28, 2019
1 parent f7d8039 commit 62afb27
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions nimwcpkg/webs/routes.nim
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@

routes:
#error Http404:
# redirect("/")
# Duplicated issue #152 & #155
#error Http404:
# discard

get "/":
createTFD()
let data = getValue(db, sql"SELECT id FROM pages WHERE url = 'frontpage'")
Expand Down

0 comments on commit 62afb27

Please sign in to comment.