We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0ed2a9 commit bf36eaaCopy full SHA for bf36eaa
src/AdventOfCode.Commons/Configuration.cs
@@ -8,9 +8,10 @@ public static class Configuration
8
/// <summary>
9
/// Your session cookie, if you want to retrieve your input from the internet
10
/// </summary>
11
+ ///
12
/// <remarks>
13
/// To get your cookie, head to https://adventofcode.com/, then look into the cookies
14
/// the website has set and paste its value here, it be something like <c>session:"[value]"</c>
15
/// </remarks>
- public const string? CookieValue = null;
16
+ public readonly static string? CookieValue = Environment.GetEnvironmentVariable("AOC_COOKIE");
17
}
0 commit comments