Try to fix boardcasting with Antigravity.
This commit is contained in:
+3
-1
@@ -37,6 +37,8 @@ public class Program
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
Console.WriteLine($"[SNote Server] Started with dynamic Server GUID: {SyncEndpoints.ServerGuid}");
|
||||
|
||||
// 1. Initialize SQLite Database Schema
|
||||
using (var scope = app.Services.CreateScope())
|
||||
{
|
||||
@@ -112,7 +114,7 @@ public class Program
|
||||
if (doBootstrap)
|
||||
{
|
||||
var db = scope.ServiceProvider.GetRequiredService<ServerDbContext>();
|
||||
await SyncEndpoints.BootstrapFromPeerServerAsync(destUrl, localUrl, SyncEndpoints.UpstreamSessionToken, db, client);
|
||||
await SyncEndpoints.BootstrapFromPeerServerAsync(destUrl, SyncEndpoints.ServerGuid, SyncEndpoints.UpstreamSessionToken, db, client);
|
||||
|
||||
// If it's FirstTime, write the flag file
|
||||
if (string.Equals(bootstrapMode, "FirstTime", StringComparison.OrdinalIgnoreCase))
|
||||
|
||||
Reference in New Issue
Block a user