Explorar o código

chore: adiciona limite maior em imagem

ebagabee hai 1 mes
pai
achega
39827a8e37
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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