From f3a3be8bcc80db83e8b784698a8d85037c695378 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Tue, 7 Jan 2025 20:18:46 -0800 Subject: [PATCH 1/2] Fix windows path include --- src/Module.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Module.php b/src/Module.php index f81a19d..1896e71 100644 --- a/src/Module.php +++ b/src/Module.php @@ -11,6 +11,6 @@ class Module */ public function getConfig(): array { - return include __DIR__ . './../config/module.config.php'; + return include __DIR__ . '/../config/module.config.php'; } } From 735ce81beacc303c7e3f76b7b58dc83a6fa9ba07 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Wed, 8 Jan 2025 11:29:08 +0700 Subject: [PATCH 2/2] Update ForceHttps.php --- src/Middleware/ForceHttps.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Middleware/ForceHttps.php b/src/Middleware/ForceHttps.php index dc32bb6..4535983 100644 --- a/src/Middleware/ForceHttps.php +++ b/src/Middleware/ForceHttps.php @@ -21,7 +21,6 @@ class ForceHttps implements MiddlewareInterface */ public function __construct(private array $config, private RouterInterface $router) { - $this->config = $config; } private function setHttpStrictTransportSecurity(