Skip to content

Commit

Permalink
feat: enable Brotli compression when using FrankenPHP (#880)
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas authored Apr 29, 2024
1 parent fffaae1 commit 33773bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Commands/Concerns/InstallsFrankenPhpDependencies.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ trait InstallsFrankenPhpDependencies
*
* @var string
*/
protected $requiredFrankenPhpVersion = '1.0.2';
protected $requiredFrankenPhpVersion = '1.1.0';

/**
* Ensure the FrankenPHP's Caddyfile and worker script are installed.
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/stubs/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

route {
root * "{$APP_PUBLIC_PATH}"
encode zstd gzip
encode zstd br gzip

# Mercure configuration is injected here...
{$CADDY_SERVER_EXTRA_DIRECTIVES}
Expand Down

0 comments on commit 33773bb

Please sign in to comment.