feat(card-master): add ICardMasterPayloadProvider singleton, load blob at startup
This commit is contained in:
@@ -130,6 +130,10 @@ public class Program
|
||||
// Restart re-fires once per viewer — documented trade in the design spec.
|
||||
builder.Services.AddSingleton<IHomeDialogSessionTracker, HomeDialogSessionTracker>();
|
||||
|
||||
// Loads the static card-master base64 blob from Data/ once at startup; served by
|
||||
// ImmutableDataController. Singleton because the file is ~1.27 MB.
|
||||
builder.Services.AddSingleton<ICardMasterPayloadProvider, CardMasterPayloadProvider>();
|
||||
|
||||
#endregion
|
||||
|
||||
builder.Services.AddBattleNode(opt =>
|
||||
|
||||
Reference in New Issue
Block a user