From 1145c7ef325f1190e89c4684f180a26d3a74128b Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Sat, 29 Dec 2018 16:58:34 +0100 Subject: Add kiemm version The kiemm is functionally identical to the rosoterTOS version, but branded differently --- app.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'app.js') 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) -- cgit v1.1