From 5d1f570190b4b7d0c94913b5eb0a11a591de31b6 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Sat, 20 May 2023 00:15:28 +0200 Subject: onboard-tools: fix https --- tools/obu-guess-trip | 2 +- tools/obu-ping | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/obu-guess-trip b/tools/obu-guess-trip index 478ba2b..305ec8d 100755 --- a/tools/obu-guess-trip +++ b/tools/obu-guess-trip @@ -64,7 +64,7 @@ Arguments: (define (fetch-stations url) (define day (date->string (current-date) "~1")) (define tls - (equal? (uri-ref url 'scheme) 'https)) + (equal? (uri-ref url 'scheme) "https")) (parameterize ; replace all json keys with symbols; everything else is confusing ([json-object-handler diff --git a/tools/obu-ping b/tools/obu-ping index ee75402..2897e23 100755 --- a/tools/obu-ping +++ b/tools/obu-ping @@ -95,7 +95,7 @@ Arguments: (define (fetch-token url trip) (define tls - (equal? (uri-ref url 'scheme) 'https)) + (equal? (uri-ref url 'scheme) "https")) (display (format "fetching new token for trip ~a…\n" trip)) (parameterize ; replace all json keys with symbols; everything else is confusing @@ -111,7 +111,7 @@ Arguments: (define (ping url token pos) (define tls - (equal? (uri-ref url 'scheme) 'https)) + (equal? (uri-ref url 'scheme) "https")) (parameterize ([json-object-handler json-symbol-key]) (parse-json-string (values-ref (http-post -- cgit v1.2.3