1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Chore: Disable custom protocol debug logging

This commit is contained in:
Laurent Cozic 2024-09-25 21:57:06 +01:00
parent c4a7749f2a
commit ac43c62ce8

View File

@ -125,6 +125,11 @@ const handleRangeRequest = async (request: Request, targetPath: string) => {
// TODO: Use Logger.create (doesn't work for now because Logger is only initialized
// in the main process.)
const handleCustomProtocols = (logger: LoggerWrapper): CustomProtocolHandler => {
logger = {
...logger,
debug: () => {},
};
const readableDirectories: string[] = [];
const readableFiles = new Map<string, number>();