add Handling request to verbose logging
Co-Authored-By: Andrew Calcutt <acalcutt@techidiots.net>
This commit is contained in:
parent
99afa33e9d
commit
d5d938b732
1 changed files with 3 additions and 1 deletions
|
@ -984,7 +984,9 @@ export const serve_rendered = {
|
||||||
ratio,
|
ratio,
|
||||||
request: async (req, callback) => {
|
request: async (req, callback) => {
|
||||||
const protocol = req.url.split(':')[0];
|
const protocol = req.url.split(':')[0];
|
||||||
// console.log('Handling request:', req);
|
if (verbose) {
|
||||||
|
console.log('Handling request:', req);
|
||||||
|
}
|
||||||
if (protocol === 'sprites') {
|
if (protocol === 'sprites') {
|
||||||
const dir = options.paths[protocol];
|
const dir = options.paths[protocol];
|
||||||
const file = decodeURIComponent(req.url).substring(
|
const file = decodeURIComponent(req.url).substring(
|
||||||
|
|
Loading…
Reference in a new issue