MCPcopy Create free account
hub / github.com/DialmasterOrg/Youtarr / getCookiesStatus

Method getCookiesStatus

server/modules/configModule.js:479–489  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

477 }
478
479 getCookiesStatus() {
480 const configDir = path.dirname(this.configPath);
481 const customPath = path.join(configDir, 'cookies.user.txt');
482 const customExists = fs.existsSync(customPath);
483
484 return {
485 cookiesEnabled: this.config.cookiesEnabled,
486 customCookiesUploaded: this.config.customCookiesUploaded,
487 customFileExists: customExists
488 };
489 }
490
491 writeCustomCookiesFile(buffer) {
492 const configDir = path.dirname(this.configPath);

Callers 3

config.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected