mirror of
https://github.com/mapbox/node-fontnik.git
synced 2026-01-25 16:02:44 +00:00
redirect root
This commit is contained in:
parent
3c91407038
commit
74caa5b6c5
@ -87,6 +87,10 @@ app.get('/gl/tiles/:z(\\d+)-:x(\\d+)-:y(\\d+).vector.pbf', function(req, res) {
|
||||
|
||||
app.use('/gl', express.static(__dirname + '/html'));
|
||||
|
||||
app.get('/', function(req, res) {
|
||||
res.redirect('/gl/');
|
||||
});
|
||||
|
||||
async.each(['tiles', 'tiles-processed'], mkdirp, function(err) {
|
||||
if (err) throw err;
|
||||
app.listen(3000);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user