diff --git a/dev-rr.yaml b/dev-rr.yaml index e1e30a1..dae1392 100644 --- a/dev-rr.yaml +++ b/dev-rr.yaml @@ -16,7 +16,7 @@ http: address: localhost:8080 pool: num_workers: 4 - middleware: ["headers", "static", "gzip"] + middleware: ["static", "gzip"] uploads: forbid: [".php", ".exe", ".bat"] static: diff --git a/public/index.php b/public/index.php index 25500fe..8cee3a9 100644 --- a/public/index.php +++ b/public/index.php @@ -4,10 +4,13 @@ use AllModules\PublishedModules; +use GuzzleHttp\Psr7\ServerRequest; + require_once "../vendor/autoload.php"; echo (new ModuleWorkerAccessor(new PublishedModules(), true)) -->buildIdentifier()->getRequestRenderer($_GET["suphle_path"], true) +->buildIdentifier()->getRequestRenderer( -->render(); + $_GET["suphle_path"], true, ServerRequest::fromGlobals() +)->render(); diff --git a/public/js/index.js b/public/js/index.js new file mode 100644 index 0000000..e69de29