From 38d980bd3b596645600423dc98d1daa96a2e17e8 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Thu, 11 Apr 2024 21:38:10 +0200 Subject: [PATCH] Add query string to proxy --- support/Proxy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/Proxy.php b/support/Proxy.php index 77d6425..3cee350 100644 --- a/support/Proxy.php +++ b/support/Proxy.php @@ -33,6 +33,6 @@ class Proxy private function url(string $internal): string { - return Settings::get('base_url') . str($internal)->start('/'); + return Settings::get('base_url') . str($internal)->start('/') . (request()->query() ? '?' . http_build_query(request()->query()) : ''); } }