Skip to content

Commit 33773bb

Browse files
authored
feat: enable Brotli compression when using FrankenPHP (#880)
1 parent fffaae1 commit 33773bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Commands/Concerns/InstallsFrankenPhpDependencies.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ trait InstallsFrankenPhpDependencies
2020
*
2121
* @var string
2222
*/
23-
protected $requiredFrankenPhpVersion = '1.0.2';
23+
protected $requiredFrankenPhpVersion = '1.1.0';
2424

2525
/**
2626
* Ensure the FrankenPHP's Caddyfile and worker script are installed.

src/Commands/stubs/Caddyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
route {
2727
root * "{$APP_PUBLIC_PATH}"
28-
encode zstd gzip
28+
encode zstd br gzip
2929

3030
# Mercure configuration is injected here...
3131
{$CADDY_SERVER_EXTRA_DIRECTIVES}

0 commit comments

Comments
 (0)