Skip to content

Commit 16b71ad

Browse files
authored
Switch 8080 to 443 (#31)
Co-authored-by: Tony Meehan <tonymeehan@users.noreply.github.com>
1 parent c16914c commit 16b71ad

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

internal/pkg/auth/auth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ func Login(ctx context.Context, baseAddr, tokenPath string) (string, error) {
445445
deviceAuth *DeviceAuth
446446
cmd *exec.Cmd
447447
uri *url.URL
448-
apiUri = fmt.Sprintf("https://%s:8080", baseAddr)
448+
apiUri = fmt.Sprintf("https://%s:443", baseAddr)
449449
err error
450450
)
451451

internal/pkg/cli/cli.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ var (
3939
)
4040

4141
const (
42-
tlsPort = 8080
42+
tlsPort = 443
4343
udpPort = 8081
4444
defStop = "+inf"
45-
baseAddr = "api-beta.prequel.dev"
45+
baseAddr = "app-beta.prequel.dev"
4646
configFile = "config.yaml"
4747
)
4848

internal/pkg/rules/download.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ func rulesDownloadAuthRequest(ctx context.Context, retries int, baseUrl, rulesDo
5959
RulesPackage: rulesDownloadPath,
6060
}
6161

62-
fmt.Printf("package name: %s\n", rulesDownloadPath)
63-
6462
jsonData, err := json.Marshal(reqData)
6563
if err != nil {
6664
return nil, err

0 commit comments

Comments
 (0)