This commit is contained in:
Jesse Wierzbinski 2024-04-07 02:26:19 -10:00
parent 0f07ca94a3
commit 26596bb987
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -95,7 +95,7 @@ export const createServer = (
if (config.logging.log_requests) { if (config.logging.log_requests) {
await logger.logRequest( await logger.logRequest(
req, req.clone(),
config.logging.log_ip ? request_ip : undefined, config.logging.log_ip ? request_ip : undefined,
config.logging.log_requests_verbose, config.logging.log_requests_verbose,
); );

View file

@ -32,7 +32,7 @@ export default apiRoute<{
try { try {
const redirect_uri = new URL(redirect_uris); const redirect_uri = new URL(redirect_uris);
if (!redirect_uri.protocol.startsWith("http")) { if (redirect_uri.origin === "null") {
return errorResponse( return errorResponse(
"Redirect URI must be an absolute URI", "Redirect URI must be an absolute URI",
422, 422,