mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-31 15:45:23 +00:00
feat: move automations into a first-party plugin
This commit is contained in:
1 parent
a6f6a0439c
commit
e0f14f2ecf
47 files changed
+384
-125
No files matched your search
@@ -3046,7 +3046,7 @@ app.post("/metrics/connect-totp", async (req, res) => {
|
||||
|
||||
// Lets automations keep metrics flowing for hosts they watch, through the same
|
||||
// viewer refcount the UI uses rather than around it.
|
||||
import("../../../src/backend/automations/headless-viewer.js")
|
||||
import("../../automations/backend/headless-viewer.js")
|
||||
.then(({ setViewerRegistry }) => {
|
||||
setViewerRegistry({
|
||||
registerViewer: (hostId, sessionId, userId) =>
|
||||
|
||||
Reference in new issue
Block a user