docs: update fs route (#3125)

This commit is contained in:
Marvin Hagemeister
2025-07-24 15:34:51 +02:00
committed by GitHub
parent 118242eaa6
commit 41b11de470
2 changed files with 30 additions and 11 deletions
+5
View File
@@ -290,6 +290,11 @@ export class App<State> {
return this;
}
/**
* Insert file routes collected in {@linkcode Builder} at this point.
* @param pattern Append file routes at this pattern instead of the root
* @returns
*/
fsRoutes(pattern = "*"): this {
this.#commands.push({
type: CommandType.FsRoute,