Skip to content

Commit

Permalink
Add asset get
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamRagstad committed Aug 3, 2024
1 parent 71f9455 commit 35dd6a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/todo/index.wx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/* import { Todo, renderAllTodos, renderTodo } from "./todos"; */

get /(asset: String) -> wx.static("assets/" + asset)

get / (<html>
<body>
<h1>Hello from WebX!</h1>
Expand Down

0 comments on commit 35dd6a0

Please sign in to comment.