Skip to content

Commit

Permalink
fix critical typo
Browse files Browse the repository at this point in the history
  • Loading branch information
edpop committed Jul 26, 2016
1 parent 3d8d887 commit ffb9f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Expand Up @@ -21,7 +21,7 @@ function handleRequest(request, response) {
baseUrl = pathname.replace(params.slice(0,6).join('/') + '/', '');

if (!isNaN(z) && !isNaN(x) && !isNaN(y) && layer && url.parse(baseUrl).protocol) {
response.writeHead(302, { 'Location': WhooTS.getUrl(baseUrl, layer, x, y, z) });
response.writeHead(302, { 'Location': WhooTS.getURL(baseUrl, layer, x, y, z) });
response.end('Redirect');
return;
}
Expand Down

0 comments on commit ffb9f3c

Please sign in to comment.