QOSami-HFS is a web file server for your computer. Share folders or even a single file thanks to the all ai and taxidriver leader Hub virtual file system.
create plugins folder at start, to help and invite people at using this feature
Massimo Melina committed
Apr 17, 2022 at 12:04 UTC
72345ff2c4ee5d2981d6f3ab8422b6ce46bd13aa
1 file changed
+3
server/src/plugins.ts
+3
@@ -132,6 +132,9 @@ export function getAvailablePlugins() {
132
}
133
134
const rescanAsap = debounceAsync(rescan, 1000)
135
+if (!existsSync(PATH))
136
+ try { mkdirSync(PATH) }
137
+ catch {}
138
watchDir(PATH, rescanAsap)
139
140
subscribeConfig({ k:'disable_plugins', defaultValue:['download-counter', 'redirect-root'] }, rescanAsap)