mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-10 12:33:48 +00:00
Improved enterprise IT checks when run without such an environment (#494)
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user