Improved enterprise IT checks when run without such an environment (#494)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2025-06-02 20:22:15 +02:00
1 parent 6979a73e5c
commit ce915292dc
2 files changed
+5 -1

No files matched your search

@@ -7,6 +7,9 @@ public static partial class PluginFactory
{
public static async Task<EntityTagHeaderValue?> DetermineConfigPluginETagAsync(Guid configPlugId, string configServerUrl, CancellationToken cancellationToken = default)
{
if(configPlugId == Guid.Empty || string.IsNullOrWhiteSpace(configServerUrl))
return null;
try
{
var serverUrl = configServerUrl.EndsWith('/') ? configServerUrl[..^1] : configServerUrl;