Extend condition with check if request is set

This commit is contained in:
Sebastian Fischer 2024-05-20 20:02:24 +02:00
parent 5a22d7c152
commit 0ce8dcdfbe

View File

@ -88,7 +88,7 @@ class AdditionalConfiguration
'constants', 'constants',
' '
// condition should trigger different cache hashes // condition should trigger different cache hashes
[request.getNormalizedParams().getHttpHost() == \'' . $remoteHost . '\'] [request && request.getNormalizedParams().getHttpHost() == \'' . $remoteHost . '\']
config.baseURL = ' . $remoteHost . ' config.baseURL = ' . $remoteHost . '
[end] [end]
', ',