Skip to content

Commit

Permalink
fix: patch up import
Browse files Browse the repository at this point in the history
  • Loading branch information
mychidarko committed Oct 4, 2023
1 parent dca3087 commit 1ce8fc2
Show file tree
Hide file tree
Showing 4 changed files with 8 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.1",
"version": "v2.10.2",
"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.

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

require dirname(__DIR__, 3) . '/vendor/autoload.php';
if (file_exists(dirname(__DIR__, 3) . '/autoload.php')) {
require dirname(__DIR__, 5) . '/autoload.php';
} else {
require dirname(__DIR__, 3) . '/vendor/autoload.php';
}

$action = $_GET['action'] ?? null;

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.1 - 4 Oct, 2023
v0.0.2 - 4 Oct, 2023
</p>
</div>
</div>
Expand Down

0 comments on commit 1ce8fc2

Please sign in to comment.