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:
parent
c4a7749f2a
commit
ac43c62ce8
@ -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>();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user