mirror of
https://github.com/BeamMP/BeamMP-Website.git
synced 2026-10-25 13:30:36 +00:00
Initial Website Setup
This commit is contained in:
1 parent
a4e3a3c2bf
commit
530cfae94d
27 files changed
+30663
No files matched your search
@@ -0,0 +1,22 @@
|
||||
var express = require('express');
|
||||
var router = express.Router();
|
||||
|
||||
module.exports = function(){
|
||||
router.get('/forum', function(req, res) {
|
||||
res.redirect('https://forum.beamng-mp.com/');
|
||||
});
|
||||
|
||||
router.get('/servers', function(req, res) {
|
||||
res.render('servers.ejs');
|
||||
});
|
||||
|
||||
router.get('/stats', function(req, res) {
|
||||
res.render('stats.ejs');
|
||||
});
|
||||
|
||||
router.get('/keymaster', function(req, res) {
|
||||
res.redirect('https://forum.beamng-mp.com/');
|
||||
});
|
||||
|
||||
return router;
|
||||
}
|
||||
Reference in new issue
Block a user