Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Commit 4bde5fc

Browse files
committed
🐛 fix blank screen for fresh install
1 parent 282545f commit 4bde5fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/routes/_app.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22

33
app()->get("/", function () {
4-
response(["message" => "Congrats!! You're on Leaf API"]);
4+
response()->json(["message" => "Congrats!! You're on Leaf API"]);
55
});
66

77
app()->get("/app", function () {
88
// app() returns $app
9-
response(app()->routes());
9+
response()->json(app()->routes());
1010
});

0 commit comments

Comments
 (0)