Skip to content

Commit

Permalink
PoC static file serving
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamRagstad committed Oct 16, 2023
1 parent 8ec16e6 commit 5d2b900
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/todo/webx/index.webx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ get / (<html>
</body>
</html>)

get /index -> static("index.html")

post /about/(id: Num) form(text: String) -> renderAllTodos(a, b): c {
const a = [5];
if true { console.log(text); }
Expand Down

0 comments on commit 5d2b900

Please sign in to comment.