Skip to content

Commit

Permalink
added anonymous analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
eviltester committed Feb 26, 2024
1 parent 8744c4a commit 59502b5
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions challenger/src/main/resources/public/gui/multiuser.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<meta http-equiv='content-language' content='en-us'>
<title>Multi-User Help</title>
<link rel='stylesheet' href='/css/default.css'>
<script defer data-domain="apichallenges.eviltester.com" src="https://plausible.io/js/script.js"></script>
</head>
<body>
<div class='content'>
Expand Down
1 change: 1 addition & 0 deletions challenger/src/main/resources/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<title>The API Challenges</title>

<link rel='stylesheet' href='/css/default.css'>
<script defer data-domain="apichallenges.eviltester.com" src="https://plausible.io/js/script.js"></script>
</head>
<body>

Expand Down
1 change: 1 addition & 0 deletions challenger/src/main/resources/public/learning.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<meta http-equiv='content-language' content='en-us'>
<title>Learning Utilities and Resources</title>
<link rel='stylesheet' href='/css/default.css'>
<script defer data-domain="apichallenges.eviltester.com" src="https://plausible.io/js/script.js"></script>
</head>
<body>
<div class='content'>
Expand Down
1 change: 1 addition & 0 deletions challenger/src/main/resources/public/mirror.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<meta http-equiv='content-language' content='en-us'>
<title>HTTP Request Mirror</title>
<link rel='stylesheet' href='/css/default.css'>
<script defer data-domain="apichallenges.eviltester.com" src="https://plausible.io/js/script.js"></script>
</head>
<body>
<div class='content'>
Expand Down
1 change: 1 addition & 0 deletions challenger/src/main/resources/public/simulation.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<meta http-equiv='content-language' content='en-us'>
<title>Simulation Mode</title>
<link rel='stylesheet' href='/css/default.css'>
<script defer data-domain="apichallenges.eviltester.com" src="https://plausible.io/js/script.js"></script>
</head>
<body>
<div class='content'>
Expand Down
1 change: 1 addition & 0 deletions challenger/src/main/resources/public/sponsors.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<title>The API Challenges</title>

<link rel='stylesheet' href='/css/default.css'>
<script defer data-domain="apichallenges.eviltester.com" src="https://plausible.io/js/script.js"></script>
</head>
<body>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ public String getPageStart(final String title){
html.append("<meta http-equiv='content-language' content='en-us'>");
html.append("<title>" + title + "</title>");
html.append(" <link rel='stylesheet' href='/css/default.css'>");
String injectFromEnv = System.getenv("HTML_HEAD_INJECT");
if(injectFromEnv!=null){
html.append(injectFromEnv);
}
html.append("</head><body>");
html.append("<div class='content'>");
return html.toString();
Expand Down

0 comments on commit 59502b5

Please sign in to comment.