summaryrefslogtreecommitdiff
path: root/server.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-12-10 01:20:24 +0100
committerTor Andersson <tor@ccxvii.net>2023-12-10 18:06:33 +0100
commit1e2964b488e102efa05b03b0d43e086ca7bb7930 (patch)
treeafc296bdff834839fcd73dee8e0edc1e3a3ed475 /server.js
parent36e17b7cc92002d325d7f6fa93767f6189c51444 (diff)
downloadserver-1e2964b488e102efa05b03b0d43e086ca7bb7930.tar.gz
Embellish signup page.
Diffstat (limited to 'server.js')
-rw-r--r--server.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/server.js b/server.js
index d964048..b4620e6 100644
--- a/server.js
+++ b/server.js
@@ -166,6 +166,7 @@ function set_static_headers(res, path) {
let app = express()
app.locals.SITE_NAME = SITE_NAME
+app.locals.SITE_NAME_P = SITE_NAME.endsWith("!") ? SITE_NAME : SITE_NAME + "."
app.locals.SITE_URL = SITE_URL
app.locals.SITE_THEME = process.env.SITE_THEME
app.locals.SITE_ICON = process.env.SITE_ICON