mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-29 22:55:24 +00:00
feat: harden plugin api for separate repos, signed updates and generic external login
This commit is contained in:
1 parent
fb9c168b6b
commit
80944301dd
310 files changed
+6577
-4927
No files matched your search
@@ -12,7 +12,9 @@ function setup(remote: object, owned = true) {
|
||||
(req: Request, res: Response) => Promise<unknown>
|
||||
>();
|
||||
registerFileDownloadRoutes(
|
||||
{ post: (path, handler) => routes.set(path, handler) } as Express,
|
||||
{
|
||||
post: (path, handler) => routes.set(path, handler),
|
||||
} as unknown as Express,
|
||||
{
|
||||
ctx: {
|
||||
currentActor: () => "user",
|
||||
|
||||
Reference in new issue
Block a user