From 9766e0f10f3f19ce8343a3573b6de7ebeb7cfe95 Mon Sep 17 00:00:00 2001 From: rebecca Date: Tue, 10 Feb 2026 21:59:42 +0000 Subject: use tls for connections introduced are the --key and --cert options for the server and the --no-verify-cert option on the client --- client/application.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/application.go') diff --git a/client/application.go b/client/application.go index ad5f2c6..0debedd 100644 --- a/client/application.go +++ b/client/application.go @@ -27,9 +27,9 @@ type application struct { activePaste <-chan string } -func newApplication(serverAddress string) *application { +func newApplication(serverAddress string, insecure bool) *application { var app application - app.Client = client.New(serverAddress) + app.Client = client.New(serverAddress, insecure) app.cache = object.NewCache(&app) app.windowCache = window.NewCache() app.goTo(app.cmdWindow.Location()) -- cgit v1.2.3