Skip to content

Commit

Permalink
Add revision information.
Browse files Browse the repository at this point in the history
  • Loading branch information
ShroomAgent27 committed Mar 21, 2024
1 parent 30aeb22 commit fae0d72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Pages/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


<h1> Weather Lookup!</h1>

<p>Currently running revision @Program.REVISION</p>
@{
if (Model.Forecast is null)
{
Expand Down
3 changes: 3 additions & 0 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@ public class Program
{
public const string WEATHER_API_PROVIDER = "https://provider.weather.shonx.net/";
public const string WEATHER_BACKEND_PROVIDER = "https://backend.weather.shonx.net/";

public const int REVISION = 1;
public static void Main(string[] args)
{
Console.WriteLine("Running revision " + REVISION);
new WebHandler(args);
}
}

0 comments on commit fae0d72

Please sign in to comment.