mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-22 07:51:17 +01:00
log full request path
This commit is contained in:
parent
9210051599
commit
0dd29d194d
@ -47,7 +47,7 @@ function requestHandler(req, res) {
|
|||||||
request.url.query = request.url.query || {};
|
request.url.query = request.url.query || {};
|
||||||
|
|
||||||
var local_path = request.url.pathname.split("/")[1];
|
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") {
|
if (request.method == "GET" || request.method == "HEAD") {
|
||||||
try {
|
try {
|
||||||
switch (local_path) {
|
switch (local_path) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user