Browse Source

use new dl.ngrok endpoint

Alan Shreve 12 years ago
parent
commit
ff66b75495
2 changed files with 4 additions and 4 deletions
  1. 3 3
      README.md
  2. 1 1
      src/ngrok/client/main.go

+ 3 - 3
README.md

@@ -14,9 +14,9 @@ It is a man-in-the-middle proxy server that you run locally on your development
 ## Downloading and installing ngrok
 ngrok has _no_ runtime dependencies. Just download a single binary for your platform and run it.
 
-- [Linux](http://ngrok.com/dl/linux_386/ngrok.zip)
-- [Mac OSX](http://ngrok.com/dl/darwin_386/ngrok.zip)
-- [Windows](http://ngrok.com/dl/windows_386/ngrok.zip)
+- [Linux](https://dl.ngrok.com/linux_386/ngrok.zip)
+- [Mac OSX](https://dl.ngrok.com/darwin_386/ngrok.zip)
+- [Windows](https://dl.ngrok.com/windows_386/ngrok.zip)
 
 
 ## Compiling ngrok

+ 1 - 1
src/ngrok/client/main.go

@@ -25,7 +25,7 @@ const (
 	pingInterval         = 20 * time.Second
 	maxPongLatency       = 15 * time.Second
 	versionCheckInterval = 6 * time.Hour
-	versionEndpoint      = "http://ngrok.com/dl/versions"
+	versionEndpoint      = "http://dl.ngrok.com/versions"
 	BadGateway           = `<html>
 <body style="background-color: #97a8b9">
     <div style="margin:auto; width:400px;padding: 20px 60px; background-color: #D3D3D3; border: 5px solid maroon;">