Skip to content

Commit

Permalink
fix: patch up directory check
Browse files Browse the repository at this point in the history
  • Loading branch information
mychidarko committed Oct 4, 2023
1 parent 1ce8fc2 commit 7df0c18
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "leafs/cli",
"description": "A simple command line tool for installing and interacting with your leaf apps",
"homepage": "https://cli.leafphp.dev",
"version": "v2.10.2",
"version": "v2.10.3",
"keywords": [
"leaf",
"php",
Expand Down
2 changes: 1 addition & 1 deletion src/ui/dist/assets/index-74a315c9.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/ui/dist/server.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Headers: *');

if (file_exists(dirname(__DIR__, 3) . '/autoload.php')) {
if (file_exists(dirname(__DIR__, 5) . '/autoload.php')) {
require dirname(__DIR__, 5) . '/autoload.php';
} else {
require dirname(__DIR__, 3) . '/vendor/autoload.php';
Expand Down
2 changes: 1 addition & 1 deletion src/ui/src/pages/HomeScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const HomeScreen = () => {
</span>
</div>
<p className="dark:text-gray-300 text-gray-600">
v0.0.2 - 4 Oct, 2023
v0.0.3 - 4 Oct, 2023
</p>
</div>
</div>
Expand Down

0 comments on commit 7df0c18

Please sign in to comment.