change index

This commit is contained in:
Bitcarrot
2021-10-05 12:43:00 -07:00
parent 09d200119d
commit 064091b904

View File

@@ -62,18 +62,17 @@ app.use(express.static(path.join(__dirname, 'public', 'css')));
app.get('/', function(req, res) {
//res.render('test', enjson)
res.redirect('/sats.html');
// res.render('test', { layout: 'main' });
res.redirect('/en');
});
app.get('/en', function(req, res) {
res.render('test', enjson)
res.render('sats', enjson)
// res.render('test', enjson)
});
app.get('/zh-cn', function(req, res) {
res.render('test', zhcnjson)
res.render('sats', zhcnjson)
});
app.get('/zh-hk', function(req, res) {