Skip to content

Commit e851486

Browse files
committed
set default update url
1 parent 45cbc51 commit e851486

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Framework/Intersect.Framework.Core/Configuration/ClientConfiguration.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using System.ComponentModel;
22
using System.Runtime.Serialization;
33
using Intersect.Enums;
4+
using Intersect.Framework.Core.AssetManagement;
45
using Intersect.Utilities;
56
using Microsoft.Extensions.Logging;
67
using Newtonsoft.Json;
@@ -40,6 +41,8 @@ public static ClientConfiguration LoadAndSave(string? filePath = default) =>
4041

4142
public const int DefaultPort = 5400;
4243

44+
public const string DefaultUpdateUrl = $"https://localhost:5443/assets/{Updater.KeywordAppManifest}";
45+
4346
public static List<DisplayDirection> DefaultEntityBarDirections =>
4447
Enumerable
4548
.Range(0, 1 + Enum.GetValues<Vital>().Length)
@@ -197,7 +200,7 @@ public void Validate()
197200
/// <summary>
198201
/// The address for the update manifest file generated by the editor.
199202
/// </summary>
200-
public string UpdateUrl { get; set; } = string.Empty;
203+
public string UpdateUrl { get; set; } = DefaultUpdateUrl;
201204

202205
/// <summary>
203206
/// Sets a custom mouse cursor.

0 commit comments

Comments
 (0)