latest stages added
This commit is contained in:
@@ -17,6 +17,7 @@ interface ConnectionBody {
|
||||
domain?: string;
|
||||
osType?: string;
|
||||
notes?: string;
|
||||
clipboardEnabled?: boolean;
|
||||
folderId?: string | null;
|
||||
}
|
||||
|
||||
@@ -39,6 +40,7 @@ export async function connectionRoutes(fastify: FastifyInstance) {
|
||||
domain: true,
|
||||
osType: true,
|
||||
notes: true,
|
||||
clipboardEnabled: true,
|
||||
folderId: true,
|
||||
createdAt: true,
|
||||
// Do NOT expose encryptedPassword or privateKey in list
|
||||
@@ -62,6 +64,7 @@ export async function connectionRoutes(fastify: FastifyInstance) {
|
||||
domain: true,
|
||||
osType: true,
|
||||
notes: true,
|
||||
clipboardEnabled: true,
|
||||
folderId: true,
|
||||
privateKey: true,
|
||||
createdAt: true,
|
||||
@@ -94,6 +97,7 @@ export async function connectionRoutes(fastify: FastifyInstance) {
|
||||
domain: true,
|
||||
osType: true,
|
||||
notes: true,
|
||||
clipboardEnabled: true,
|
||||
folderId: true,
|
||||
createdAt: true,
|
||||
},
|
||||
@@ -131,6 +135,7 @@ export async function connectionRoutes(fastify: FastifyInstance) {
|
||||
domain: true,
|
||||
osType: true,
|
||||
notes: true,
|
||||
clipboardEnabled: true,
|
||||
folderId: true,
|
||||
createdAt: true,
|
||||
},
|
||||
|
||||
@@ -76,6 +76,7 @@ export async function rdpWebsocket(fastify: FastifyInstance) {
|
||||
domain: conn.domain || '',
|
||||
width: 1280,
|
||||
height: 720,
|
||||
clipboard: conn.clipboardEnabled !== false,
|
||||
});
|
||||
|
||||
rdpd.send(connectMsg);
|
||||
|
||||
Reference in New Issue
Block a user