Skip to content

Commit

Permalink
Change to how we retrieve the clarity key
Browse files Browse the repository at this point in the history
  • Loading branch information
BarryGibney committed Jan 30, 2025
1 parent b60509f commit 5570ce2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Web/Edubase.Web.UI/Views/GOVUK/Layouts/template.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
var version = typeof(HomeController).Assembly.GetName().Version;
var acceptsAnalytics = HttpContext.Current.Request.Cookies["analytics_preferences"]?.Value.ToString();

var clarityKey = Environment.GetEnvironmentVariable("ClarityKey");
var clarityKey = System.Configuration.ConfigurationManager.AppSettings["ClarityKey"];
}
<!doctype html>
<html lang="en" class="govuk-template">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<meta name="theme-color" content="blue">
<title>@documentTitle</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
Expand Down

0 comments on commit 5570ce2

Please sign in to comment.