From e6d8df43c5970528a2047b743eb71a339848d733 Mon Sep 17 00:00:00 2001 From: jkaplon Date: Mon, 11 Oct 2021 15:19:40 -0400 Subject: [PATCH] Replace old domain with new sub-domain --- server.js | 2 +- views/home.hbs | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/server.js b/server.js index f54febe..8e49f51 100644 --- a/server.js +++ b/server.js @@ -247,7 +247,7 @@ app.post('/:loc/login', function(req, res) { winston.info('sucessful login'); //res.redirect('/:loc/admin'); // no worky, :loc is literal here, not repop by param. - //res.redirect(req); // no worky, get https://tenniscourtsopen.com/[object%20Object] + //res.redirect(req); // no worky, get https://courts.kaplon.us/[object%20Object] var loc = req.params.loc; res.redirect('/' + loc + '/admin'); // no worky, undefined here...how to include w/post? }); diff --git a/views/home.hbs b/views/home.hbs index ed48774..a17c51f 100644 --- a/views/home.hbs +++ b/views/home.hbs @@ -4,19 +4,19 @@

Are the courts open?


-

What's the QUICKEST way to know if the courts are open?:
TennisCourtsOpen.com

+

What's the QUICKEST way to know if the courts are open?:
courts.kaplon.us


- TennisCourtsOpen.com internet-enabled hardware device + courts.kaplon.us internet-enabled hardware device
-

At each location, we supply an internet-enabled physical switch to update status pages here at TennisCourtsOpen.com.

-

Want to sign on as another TennisCourtsOpen.com location? Email us.

+

At each location, we supply an internet-enabled physical switch to update status pages here at courts.kaplon.us> +

Want to sign on as another courts.kaplon.us location? Email us.

{{! Make this table dynamic later when DB supports multiple locations. }} }} - +
Here are the currently supported locations:{{! Status
Temple Terrace Recreation Center, clay courts
Temple Terrace Recreation Center, clay courts