aboutsummaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2018-12-29 16:58:34 +0100
committerNoah Loomans <noahloomans@gmail.com>2018-12-29 16:58:34 +0100
commit1145c7ef325f1190e89c4684f180a26d3a74128b (patch)
tree311e14b1a4c24d63d4480e14ef8a698bfbb0b9ab /app.js
parentcaeb6bad750ed3d7e26606dca07edc097885d8ce (diff)
Add kiemm version
The kiemm is functionally identical to the rosoterTOS version, but branded differently
Diffstat (limited to 'app.js')
-rw-r--r--app.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/app.js b/app.js
index 58188e4..5e57e32 100644
--- a/app.js
+++ b/app.js
@@ -22,6 +22,11 @@ app.use(bodyParser.json())
app.use(bodyParser.urlencoded({ extended: false }))
app.use(cookieParser())
app.use(express.static(path.join(__dirname, 'public')))
+if (process.env.SCHOOL === 'kiemm') {
+ app.use(express.static(path.join(__dirname, 'public-kiemm')))
+} else {
+ app.use(express.static(path.join(__dirname, 'public-metis')))
+}
app.use('/', routes)
app.use('/meetingpointProxy', meetingpointProxy)