Skip to content

Commit c3b85cb

Browse files
authored
Merge pull request #96 from Rudey-ua/development
Upload
2 parents b76ff0b + d216753 commit c3b85cb

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

resources/views/thank-you.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353

5454
<body>
5555
<div class="thank-you-container">
56-
<img src="{{ url('storage/2024-06-02%2018.26.07.jpg') }}" alt="Logo" class="logo">
56+
<img src="{{ url('storage/2024-06-10_23.42.24.jpg') }}" alt="Logo" class="logo">
5757

5858
<h1>Welcome to the Club!</h1>
5959
<p>Your subscription spices up our kitchen and helps us bring more delicious recipes to your table.</p>

routes/api.php

-11
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,5 @@
7777
});
7878
});
7979

80-
Route::post('/uploadFile', function(Request $request){
81-
82-
$file = $request->file('file');
83-
84-
$filename = str_replace(' ', '_', $file->getClientOriginalName());
85-
86-
$path = Storage::disk('public')->putFileAs('/', $file, $filename);
87-
88-
return $path ? $filename : false;
89-
});
90-
9180
Route::any('/webhooks/payment/{service}', PaymentWebhookController::class);
9281
Route::any('/callback/payment/{service}', PaymentCallbackController::class);

0 commit comments

Comments
 (0)