updated logging
This commit is contained in:
parent
d6d11ea807
commit
6056289864
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ function determineResponseType (isServeRequest, headers) {
|
||||||
} else {
|
} else {
|
||||||
responseType = SHOW;
|
responseType = SHOW;
|
||||||
if (clientWantsAsset(headers) && requestIsFromBrowser(headers)) { // this is in case someone embeds a show url
|
if (clientWantsAsset(headers) && requestIsFromBrowser(headers)) { // this is in case someone embeds a show url
|
||||||
logger.debug('Show request actually wants an asset!');
|
logger.debug('Show request came from browser and wants an image/video; changing response to serve.');
|
||||||
responseType = SERVE;
|
responseType = SERVE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue