use httpRoot when redirecting to out.ViewFolder.php

This commit is contained in:
Uwe Steinmann 2025-03-19 15:40:41 +01:00
parent 54832e3727
commit 9d400a808e

View File

@ -83,7 +83,7 @@ if(true) {
/* Catch all route */
$app->get('/{path:.*}', function($request, $response) {
return $response
->withHeader('Location', '/out/out.ViewFolder.php')
->withHeader('Location', $settings->_httpRoot.'out/out.ViewFolder.php')
->withStatus(302);
});