+ {{#if escapehatch}}
+
+
+ Back to Website
+
+ {{/if}}
diff --git a/www/routes.js b/www/routes.js
index e5b9a20..c75596d 100644
--- a/www/routes.js
+++ b/www/routes.js
@@ -30,11 +30,17 @@ var routes = [
async: function (routeTo, routeFrom, resolve, reject) {
// Show a nag message if no account is set up
var accountsetup = (inStorage("accountkey") && inStorage("phonenumber")) || getStorage("hideaccountnag") == "true";
+ // add escape hatch to regular website if running online
+ var escapehatch = false;
+ if (window.location.hostname == "app.helena.express") {
+ escapehatch = true;
+ }
resolve({
templateUrl: './pages/home.html'
}, {
context: {
accountsetup: accountsetup,
+ escapehatch: escapehatch,
pages: [
{
title: "Drop and Send",