diff --git a/server.js b/server.js index 21a4af6..10c4da3 100644 --- a/server.js +++ b/server.js @@ -134,6 +134,11 @@ export default function(opt) { const client = manager.getClient(clientId); if (!client) { + if (clientId === 'www') { + res.writeHead(301, {'Location' : landingPage}); + res.end(); + return; + } res.statusCode = 404; res.end('404'); return;