mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-13 03:11:46 +00:00
fix: fix plugins cannot load config
This commit is contained in:
@ -12,9 +12,7 @@ export const blockers = {
|
||||
|
||||
export const shouldUseBlocklists = async () => await config.get('blocker') !== blockers.InPlayer;
|
||||
|
||||
export default {
|
||||
export default Object.assign(config, {
|
||||
shouldUseBlocklists,
|
||||
blockers,
|
||||
get: config.get.bind(this),
|
||||
set: config.set.bind(this),
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user