Skip to content

Commit 05b3ca5

Browse files
committed
fix: change response status to 418 for root route
1 parent 93ccb8c commit 05b3ca5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/modules/server/server.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class ServerModule extends Module {
3030
@override
3131
void routes(RouteManager r) {
3232
r
33-
..get('/', () => Response.notFound("This is not the API you're looking for."))
33+
..get('/', () => Response(418, body: "I'm a teapot ☕🫖🍵🧋"))
3434
..module(
3535
'/admin',
3636
module: AdminModule(),

0 commit comments

Comments
 (0)