mirror of
https://github.com/YuzuZensai/Termix.git
synced 2026-09-14 02:59:06 +00:00
v2.2.1 (#754)
* fix: rdp, desktop app, and mobile app login issues and guacd issues * fix: general fixes * fix: mobile/desktop login isssues * fix: mobile/desktop login isssues * fix: mobile/desktop login isssues * chore: format
This commit is contained in:
@@ -140,7 +140,6 @@ export const GuacamoleDisplay = forwardRef<
|
||||
|
||||
const width = connectionConfig.width ?? containerWidth ?? 1280;
|
||||
const height = connectionConfig.height ?? containerHeight ?? 720;
|
||||
const dpi = protocol === "rdp" ? (connectionConfig.dpi ?? 96) : null;
|
||||
|
||||
const wsBase = isDev
|
||||
? `ws://localhost:30008`
|
||||
@@ -171,9 +170,6 @@ export const GuacamoleDisplay = forwardRef<
|
||||
width: String(width),
|
||||
height: String(height),
|
||||
});
|
||||
if (dpi !== null && dpi !== undefined) {
|
||||
params.set("dpi", String(dpi));
|
||||
}
|
||||
return `${wsBase}?${params.toString()}`;
|
||||
} catch (error) {
|
||||
const errorMessage =
|
||||
|
||||
Reference in New Issue
Block a user