Added template layer below the master template in preparation for other things.

This commit is contained in:
flash 2025-01-30 12:07:59 +00:00
parent 720d36dd23
commit a09bdb5fc3
5 changed files with 62 additions and 44 deletions

View file

@ -75,10 +75,7 @@ handleValue:
$hostName ??= 'localhost';
// this should really not be necessary
CSRF::init($msz->config->getString('csrf.secret', 'soup'), '::1');
// neither should this i think, mostly done to make sure the url handler thing is available
// this should really not be necessary, mostly done to make sure the url registry is available
$msz->createRouting(new HttpRequest('::1', true, 'XX', '1.1', 'GET', '/', [], [], new HttpHeaders([
new HttpHeader('Host', $hostName),
]), null));