mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 18:41:47 +00:00
stringify did-fail-load error
directly preload front-logger simplify front-logger
This commit is contained in:
@ -34,8 +34,7 @@ document.addEventListener("DOMContentLoaded", () => {
|
||||
fileExists(songInfoProviderPath, require(songInfoProviderPath));
|
||||
|
||||
// inject front logger
|
||||
const loggerPath = path.join(__dirname, "providers", "front-logger.js")
|
||||
fileExists(loggerPath, require(loggerPath));
|
||||
require("./providers/front-logger")();
|
||||
|
||||
// Add action for reloading
|
||||
global.reload = () =>
|
||||
|
||||
Reference in New Issue
Block a user