Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadil-K committed Oct 22, 2024
1 parent df96c3e commit 4bdcb57
Show file tree
Hide file tree
Showing 9 changed files with 978 additions and 289 deletions.
6 changes: 5 additions & 1 deletion app/app/Http/Controllers/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ public function init(Request $request): JsonResponse
$response = Unfold::unfold(
$url,
$method,
new UnfoldConfig($embedWrapInIframe, $embedMetaFallback)
new UnfoldConfig(
$embedWrapInIframe,
$embedMetaFallback,
// httpClient: app()->bound('httpClient') ? app('httpClient') : null
)
);
} catch (UnfoldException $e) {
return response()->json([
Expand Down
7 changes: 3 additions & 4 deletions app/bootstrap/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@

return Application::configure(basePath: dirname(__DIR__))
->withRouting(
web: __DIR__.'/../routes/web.php',
api: __DIR__.'/../routes/api.php',
commands: __DIR__.'/../routes/console.php',
health: '/up',
apiPrefix: '',
)
->withMiddleware(function (Middleware $middleware) {
//
})
->withMiddleware(function (Middleware $middleware) {})
->withExceptions(function (Exceptions $exceptions) {
//
})->create();
2 changes: 1 addition & 1 deletion app/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"laravel/sail": "^1.26",
"mockery/mockery": "^1.6",
"nunomaduro/collision": "^8.1",
"phpunit/phpunit": "^11.0.1"
"pestphp/pest": "^3.4"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 4bdcb57

Please sign in to comment.