mirror of
https://github.com/azures04/crafatar.git
synced 2026-05-06 19:10:38 +02:00
log full request path
This commit is contained in:
@@ -47,7 +47,7 @@ function requestHandler(req, res) {
|
||||
request.url.query = request.url.query || {};
|
||||
|
||||
var local_path = request.url.pathname.split("/")[1];
|
||||
console.log(request.method + " " + request.url.pathname);
|
||||
console.log(request.method + " " + request.url.href);
|
||||
if (request.method == "GET" || request.method == "HEAD") {
|
||||
try {
|
||||
switch (local_path) {
|
||||
|
||||
Reference in New Issue
Block a user