docs: fix misleading main.tsx filenames (#3477)
Closes #3476 --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Bartek Iwańczuk
Claude Opus 4.6
parent
be467d3cdb
commit
420a8cfb8e
@@ -7,6 +7,8 @@ Routing defines which middlewares and routes should respond to a particular
|
||||
request.
|
||||
|
||||
```ts main.ts
|
||||
import { App } from "fresh";
|
||||
|
||||
const app = new App()
|
||||
.get("/", () => new Response("hello")) // Responds to: GET /
|
||||
.get("/other", () => new Response("other")) // Responds to: GET /other
|
||||
|
||||
Reference in New Issue
Block a user