Skip to content

Commit

Permalink
Add routing links
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamRagstad committed Oct 15, 2023
1 parent 9dae5df commit cd7e984
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 @@ -5,6 +5,7 @@ get / (<html>
<p>
This is an example index page.
</p>
<a href="/about">About</a>
</body>
</html>)

Expand Down Expand Up @@ -52,6 +53,7 @@ handler authenticate(user_id: Number) {
get /about (<div>
<h1>About</h1>
<p>This is an example WebX project.</p>
<a href="/">Home</a>
</div>)

location todos {
Expand Down

0 comments on commit cd7e984

Please sign in to comment.