Skip to content

Commit

Permalink
Allow port in NightScout URL
Browse files Browse the repository at this point in the history
There was a change made in the past year that no longer allowed specifying the port on the Nightscout URL.  This allows it to work.  Tested on my device.
  • Loading branch information
beached authored Jan 8, 2020
1 parent 5c43423 commit f339d3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions NightscoutUploadKit/NightscoutUploader.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public class NightscoutUploader {
var components = URLComponents()
components.scheme = siteURL.scheme
components.host = siteURL.host
components.port = siteURL.port
components.queryItems = queryItems
components.path = path
return components.url
Expand Down

0 comments on commit f339d3b

Please sign in to comment.