diff options
author | Noah Loomans <noahloomans@gmail.com> | 2018-12-29 16:58:34 +0100 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2018-12-29 16:58:34 +0100 |
commit | 1145c7ef325f1190e89c4684f180a26d3a74128b (patch) | |
tree | 311e14b1a4c24d63d4480e14ef8a698bfbb0b9ab /app.js | |
parent | caeb6bad750ed3d7e26606dca07edc097885d8ce (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.js | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) |