fix: typo, remove dirname

This commit is contained in:
Alexis Tyler
2021-05-03 19:08:06 +09:30
parent 3cff71f3d1
commit 20847ddd15

View File

@@ -47,7 +47,7 @@ export const keyFile = () => {
// Watch the directory where the key file is meant to reside
// This is to ensure we get the key file even if it changes names
// For example if someone has a Basic.key and then it changes to Pro.key
const keyDirectory = dirname('/boot/config/');
const keyDirectory = '/boot/config/';
const watcher = chokidar.watch(keyDirectory, {
persistent: true,