Skip to content

Commit

Permalink
Added ENV debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
maxxcrawford committed Apr 22, 2020
1 parent f3fe20f commit dfe8495
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ const cookie = {httpOnly: true, sameSite: "lax"};
app.locals.constants = AppConstants;
app.locals.FXA_ENABLED = AppConstants.FXA_ENABLED;
app.locals.SERVER_URL = AppConstants.SERVER_URL;
app.locals.EXPERIMENT_ACTIVE = AppConstants.EXPERIMENT_ACTIVE;
app.locals.LOGOS_ORIGIN = AppConstants.LOGOS_ORIGIN;
app.locals.UTM_SOURCE = new URL(AppConstants.SERVER_URL).hostname;

Expand Down
1 change: 1 addition & 0 deletions views/partials/debug.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<div class="float-debug">
<ul>
<li>EXPERIMENT_ACTIVE: {{EXPERIMENT_ACTIVE}} </li>
<li>sessionStorage: <span id="debugSessionStorage"></span> </li>
<li>isUserInExperiment: {{isUserInExperiment}} </li>
<li>experimentBranch: {{experimentBranch}} </li>
Expand Down

0 comments on commit dfe8495

Please sign in to comment.