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

Commit

Permalink
🐛 fix blank screen for fresh install
Browse files Browse the repository at this point in the history
  • Loading branch information
mychidarko committed Sep 17, 2022
1 parent 282545f commit 4bde5fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/routes/_app.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

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

app()->get("/app", function () {
// app() returns $app
response(app()->routes());
response()->json(app()->routes());
});

0 comments on commit 4bde5fc

Please sign in to comment.