Quellcode durchsuchen

chore: adiciona limite maior em imagem

ebagabee vor 1 Monat
Ursprung
Commit
39827a8e37
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      serve.sh

+ 1 - 1
serve.sh

@@ -8,7 +8,7 @@ mkfifo $PIPE
 cat $PIPE | grep -v '^\([0-9]\{4\}-[0-9]\{2\}-[0-9]\{2\}\|.*\.\{3\}\)' &
 
 # Run artisan serve and redirect its output to our pipe
-php artisan serve > $PIPE 2>&1
+php -d post_max_size=50M -d upload_max_filesize=50M artisan serve > $PIPE 2>&1
 
 # Cleanup
 rm $PIPE