Skip to content

Commit d4c6571

Browse files
authored
Merge pull request #171 from fastly/dgryski/http-me-fastly-dev
all: http-me.glitch.me -> http-me.fastly.dev
2 parents 0b39b3c + 11a7258 commit d4c6571

File tree

15 files changed

+22
-22
lines changed

15 files changed

+22
-22
lines changed

_examples/add-or-remove-cookies/fastly.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ manifest_version = 2
88
name = "add-or-remove-cookies"
99

1010
[local_server]
11-
backends.backend.url = "https://http-me.glitch.me"
11+
backends.backend.url = "https://http-me.fastly.dev"

_examples/http-adapter/fastly.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ manifest_version = 2
88
name = "example"
99

1010
[local_server]
11-
backends.httpme.url = "https://http-me.glitch.me"
11+
backends.httpme.url = "https://http-me.fastly.dev"

_examples/http-adapter/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func main() {
2222
})
2323

2424
mux.HandleFunc("/ip", func(w http.ResponseWriter, r *http.Request) {
25-
req, err := fsthttp.NewRequest("GET", "https://http-me.glitch.me/ip", nil)
25+
req, err := fsthttp.NewRequest("GET", "https://http-me.fastly.dev/ip", nil)
2626
if err != nil {
2727
w.WriteHeader(fsthttp.StatusInternalServerError)
2828
w.Write([]byte(err.Error()))

_examples/parallel-requests/fastly.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ manifest_version = 2
88
name = "parallel-requests"
99

1010
[local_server]
11-
backends.httpme.url = "https://http-me.glitch.me"
11+
backends.httpme.url = "https://http-me.fastly.dev"

_examples/parallel-requests/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ func main() {
2323
// Send several requests in parallel.
2424
var wg sync.WaitGroup
2525
for _, url := range []string{
26-
"https://http-me.glitch.me/drip=2?wait=3000", // delay 3s + stream body 2s = 5s
27-
"https://http-me.glitch.me/drip=2?wait=2000", // delay 2s + stream body 2s = 4s
28-
"https://http-me.glitch.me/wait=3000", // delay 3s + stream body 0s = 3s
26+
"https://http-me.fastly.dev/drip=2?wait=3000", // delay 3s + stream body 2s = 5s
27+
"https://http-me.fastly.dev/drip=2?wait=2000", // delay 2s + stream body 2s = 4s
28+
"https://http-me.fastly.dev/wait=3000", // delay 3s + stream body 0s = 3s
2929
} {
3030
wg.Add(1)
3131
go func(url string) {

_examples/proxy-request-framing/fastly.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ manifest_version = 2
88
name = "proxy-request-framing"
99

1010
[local_server]
11-
backends.httpme.url = "https://http-me.glitch.me"
11+
backends.httpme.url = "https://http-me.fastly.dev"

_examples/proxy-request-framing/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ func main() {
1313
fsthttp.ServeFunc(func(ctx context.Context, w fsthttp.ResponseWriter, r *fsthttp.Request) {
1414
// Reset the URI and Host header, so the request is
1515
// recognized and routed correctly at the origin.
16-
r.URL.Scheme, r.URL.Host = "https", "http-me.glitch.me"
17-
r.Header.Set("host", "http-me.glitch.me")
16+
r.URL.Scheme, r.URL.Host = "https", "http-me.fastly.dev"
17+
r.Header.Set("host", "http-me.fastly.dev")
1818

1919
// Determine the framing headers (Content-Length/Transfer-Encoding)
2020
// based on the message body (default)
@@ -24,7 +24,7 @@ func main() {
2424
r.CacheOptions.Pass = true
2525

2626
// This requires your service to be configured with a backend
27-
// named "httpme" and pointing to "https://http-me.glitch.me".
27+
// named "httpme" and pointing to "https://http-me.fastly.dev".
2828
resp, err := r.Send(ctx, "httpme")
2929
if err != nil {
3030
fsthttp.Error(w, err.Error(), fsthttp.StatusBadGateway)

_examples/proxy-request/fastly.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ manifest_version = 2
88
name = "proxy-request"
99

1010
[local_server]
11-
backends.httpme.url = "https://http-me.glitch.me"
11+
backends.httpme.url = "https://http-me.fastly.dev"

_examples/proxy-request/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ func main() {
1313
fsthttp.ServeFunc(func(ctx context.Context, w fsthttp.ResponseWriter, r *fsthttp.Request) {
1414
// Reset the URI and Host header, so the request is
1515
// recognized and routed correctly at the origin.
16-
r.URL.Scheme, r.URL.Host = "https", "http-me.glitch.me"
17-
r.Header.Set("host", "http-me.glitch.me")
16+
r.URL.Scheme, r.URL.Host = "https", "http-me.fastly.dev"
17+
r.Header.Set("host", "http-me.fastly.dev")
1818

1919
// Make sure the response isn't cached.
2020
r.CacheOptions.Pass = true
2121

2222
// This requires your service to be configured with a backend
23-
// named "httpme" and pointing to "https://http-me.glitch.me".
23+
// named "httpme" and pointing to "https://http-me.fastly.dev".
2424
resp, err := r.Send(ctx, "httpme")
2525
if err != nil {
2626
fsthttp.Error(w, err.Error(), fsthttp.StatusBadGateway)

_examples/set-google-analytics/fastly.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ manifest_version = 2
88
name = "set-google-analytics"
99

1010
[local_server]
11-
backends.backend.url = "https://http-me.glitch.me"
11+
backends.backend.url = "https://http-me.fastly.dev"

0 commit comments

Comments
 (0)