File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -119,13 +119,21 @@ Your Laravel PWA is now configured to update the logo dynamically! 🚀
119119
120120#### 1. ** Create a Controller Method**
121121
122- ** Input Key Name:** ` logo `
122+ ** Input Key Name:** ` logo `
123+
123124Make sure the image is in PNG format, at least 512x512 pixels, and does not exceed 1024 KB in size.
124125
125126``` html
126127<input type =" file" name =" logo" accept =" .png" >
127128```
128129
130+
131+ ``` php
132+ array:2 [▼ // EragLaravelPwa/src/Core/PWA.php:19
133+ "_token" => "iKbZh21VsYZMpNd9TN12Ul5SoysQzkMXlQkhB5Ub"
134+ "logo" => Illuminate\Http\UploadedFile{#1426 ▶}]
135+ ```
136+
129137``` php
130138namespace App\Http\Controllers;
131139
@@ -147,16 +155,8 @@ class SettingsController extends Controller
147155 }
148156}
149157```
150-
151- ``` php
152- array:2 [▼ // EragLaravelPwa/src/Core/PWA.php:19
153- "_token" => "iKbZh21VsYZMpNd9TN12Ul5SoysQzkMXlQkhB5Ub"
154- "logo" => Illuminate\Http\UploadedFile{#1426 ▶}]
155- ```
156-
157158Once uploaded, the new logo will be available at ` http://yourdomain.com/logo.png ` .
158159
159-
160160## Screenshots 📸
161161
162162<img width =" 1470 " alt =" Screenshot 2024-09-19 at 10 11 01 PM " src =" https://github.com/user-attachments/assets/27c08862-0557-4fbd-bd8f-90b9d05f67b3 " >
You can’t perform that action at this time.
0 commit comments