Skip to content

Commit 235a512

Browse files
committed
Update some outdated references to old .tech domain
1 parent 60f81db commit 235a512

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Mockttp [![Build Status](https://github.com/httptoolkit/mockttp/workflows/CI/badge.svg)](https://github.com/httptoolkit/mockttp/actions) [![Available on NPM](https://img.shields.io/npm/v/mockttp.svg)](https://npmjs.com/package/mockttp) [![Try Mockttp on RunKit](https://badge.runkitcdn.com/mockttp.svg)](https://npm.runkit.com/mockttp)
22

3-
> _Part of [HTTP Toolkit](https://httptoolkit.tech): powerful tools for building, testing & debugging HTTP(S)_
3+
> _Part of [HTTP Toolkit](https://httptoolkit.com): powerful tools for building, testing & debugging HTTP(S)_
44
55
**Mockttp lets you intercept, transform or test HTTP requests & responses in JavaScript - quickly, reliably & anywhere.**
66

@@ -10,7 +10,7 @@ HTTP testing is the most common and well supported use case. There's a lot of to
1010

1111
Mockttp meanwhile allows you to do accurate true integration testing, writing one set of tests that works out of the box in node or browsers, with support for transparent proxying & HTTPS, strong typing & promises throughout, fast & safe parallel testing, and with debuggability built-in at every stage.
1212

13-
Mockttp is also battle-tested as a scriptable rewriting proxy, powering all the HTTP internals of [HTTP Toolkit](https://httptoolkit.tech). Anything you can do with HTTP Toolkit, you can automate with Mockttp as a headless script.
13+
Mockttp is also battle-tested as a scriptable rewriting proxy, powering all the HTTP internals of [HTTP Toolkit](https://httptoolkit.com). Anything you can do with HTTP Toolkit, you can automate with Mockttp as a headless script.
1414

1515
## Features
1616

docs/api-docs-landing-page.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Mockttp [![Build Status](https://github.com/httptoolkit/mockttp/workflows/CI/badge.svg)](https://github.com/httptoolkit/mockttp/actions) [![Available on NPM](https://img.shields.io/npm/v/mockttp.svg)](https://npmjs.com/package/mockttp) [![Try Mockttp on RunKit](https://badge.runkitcdn.com/mockttp.svg)](https://npm.runkit.com/mockttp)
22

3-
> _Part of [HTTP Toolkit](https://httptoolkit.tech): powerful tools for building, testing & debugging HTTP(S)_
3+
> _Part of [HTTP Toolkit](https://httptoolkit.com): powerful tools for building, testing & debugging HTTP(S)_
44
55
These are the API reference docs for Mockttp. If you're not sure what Mockttp is, it's best to start from the [README](https://github.com/httptoolkit/mockttp/#readme) instead.
66

src/util/header-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export function objectHeadersToFlat(headers: Headers): string[] {
158158
return flatHeaders;
159159
}
160160

161-
// See https://httptoolkit.tech/blog/translating-http-2-into-http-1/ for details on the
161+
// See https://httptoolkit.com/blog/translating-http-2-into-http-1/ for details on the
162162
// transformations required between H2 & H1 when proxying.
163163
export function h2HeadersToH1(h2Headers: RawHeaders): RawHeaders {
164164
let h1Headers = h2Headers.filter(([key]) => key[0] !== ':');

test/ca.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ nodeOnly(() => {
9696
const caCertificate = await caCertificatePromise;
9797
const ca = new CA({ key: caCertificate.key, cert: caCertificate.cert, keyLength: 2048 });
9898

99-
const { cert } = ca.generateCertificate('httptoolkit.tech');
99+
const { cert } = ca.generateCertificate('httptoolkit.com');
100100

101101

102102
const certData = forge.pki.certificateFromPem(cert);
103-
expect((certData.getExtension('subjectAltName') as any).altNames[0].value).to.equal('httptoolkit.tech');
103+
expect((certData.getExtension('subjectAltName') as any).altNames[0].value).to.equal('httptoolkit.com');
104104

105105
const response = await ignoreNetworkError(
106106
fetch('https://crt.sh/lintcert', {
@@ -140,10 +140,10 @@ nodeOnly(() => {
140140
const caCertificate = await caCertificatePromise;
141141
const ca = new CA({ key: caCertificate.key, cert: caCertificate.cert, keyLength: 2048 });
142142

143-
const { cert } = ca.generateCertificate('under_score.httptoolkit.tech');
143+
const { cert } = ca.generateCertificate('under_score.httptoolkit.com');
144144

145145
const certData = forge.pki.certificateFromPem(cert);
146-
expect((certData.getExtension('subjectAltName') as any).altNames[0].value).to.equal('*.httptoolkit.tech');
146+
expect((certData.getExtension('subjectAltName') as any).altNames[0].value).to.equal('*.httptoolkit.com');
147147

148148
const response = await ignoreNetworkError(
149149
fetch('https://crt.sh/lintcert', {

0 commit comments

Comments
 (0)