diff --git a/Program.cs b/Program.cs index 67747aa..99d7ec9 100644 --- a/Program.cs +++ b/Program.cs @@ -14,7 +14,12 @@ .AddJsonFile("appsettings.json") .Build(); -var splash = "\r\n\r\n\r\n \r\n It Works!!\r\n \r\n \r\n \r\n\r\n\r\n\r\n

It Works!

\r\n

Copy the link in your browser and paste it back in the Valkyrie Connection Page

\r\n

or

\r\n Sync Manually\r\n\r\n"; +//

or

\r\n Sync Manually\r\n + +string linkURI = env["VALK_DASHBOARD_LINK"]; + +var splash = "\r\n\r\n\r\n \r\n It Works!!\r\n \r\n \r\n \r\n\r\n\r\n\r\n " + + $"

It Works!

\r\n

Copy the link in your browser and paste it back in the Valkyrie Connection Page

Go To Dashboard

\r\n\r\n"; // Add services to the container. // Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle @@ -103,7 +108,7 @@ { context.RequestAborted.ThrowIfCancellationRequested(); - + var instructionId = context.Request.RouteValues["id"] as string; string key = context.Request.Headers["apikey"]; diff --git a/appsettings.json b/appsettings.json index aad9026..90c4209 100644 --- a/appsettings.json +++ b/appsettings.json @@ -6,5 +6,6 @@ } }, "AllowedHosts": "*", - "API_KEY" : "some api key" + "API_KEY": "some api key", + "VALK_DASHBOARD_LINK": "https://valkyrie-nu.vercel.app/dashboard" } diff --git a/splash.html b/splash.html index f0d80ef..a3cc399 100644 --- a/splash.html +++ b/splash.html @@ -40,7 +40,5 @@

It Works!

Copy the link in your browser and paste it back in the Valkyrie Connection Page

-

or

- Sync Manually \ No newline at end of file