diff --git a/hooks.js b/hooks.js index 085f74f..bd5fb42 100644 --- a/hooks.js +++ b/hooks.js @@ -5,7 +5,7 @@ const path = require('path'); const { spawn } = require('child_process'); const { getEnvVar } = require('./env.js'); -const getHooksRoot = () => getEnvVar('ST_HOOK_DIR', path.join(os.homedir(), '/.syncthing-hooks')) +const getHooksRoot = () => getEnvVar('ST_HOOK_ROOT', path.join(os.homedir(), '/.syncthing-hooks')) const readHooksRoot = async root => { try {