Skip to content

Commit

Permalink
add more :cite
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed Mar 8, 2023
1 parent 2db739a commit 29d8158
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions mature/src/http-gateways/dnslink-gateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@ editors:

**Abstract**

DNSLink Gateway is an extension of
[PATH_GATEWAY.md](./PATH_GATEWAY.md)
that enables hosting a specific content path under a specific DNS name.
DNSLink Gateway is an extension of :cite[path-gateway] that enables hosting a
specific content path under a specific DNS name.

This document describes the delta between [PATH_GATEWAY.md](./PATH_GATEWAY.md) and this gateway type.
This document describes the delta between :cite[path-gateway] and this gateway type.

In short:

Expand Down Expand Up @@ -88,4 +87,5 @@ Same as [HTTP Response section in `PATH_GATEWAY.md`](./PATH_GATEWAY.md#http-resp

## Redirects, single-page applications, and custom 404s

DNSLink Gateway implementations are free to include `_redirects` file support defined in [`REDIRECTS_FILE.md`](./REDIRECTS_FILE.md).
DNSLink Gateway implementations are free to include `_redirects` file support
defined in :cite[redirects-file].
8 changes: 4 additions & 4 deletions mature/src/http-gateways/subdomain-gateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ editors:

**Abstract**

Subdomain Gateway is an extension of [PATH_GATEWAY.md](./PATH_GATEWAY.md) that
Subdomain Gateway is an extension of :cite[path-gateway] that
enables website hosting isolated per CID/name, while remaining compatible with
web browsers relative pathing and security model of the web.
Below should be read as a delta on top of that spec.
Expand All @@ -27,8 +27,7 @@ Summary:

# HTTP API

The API is a superset of [PATH_GATEWAY.md](./PATH_GATEWAY.md), the differences
are documented below.
The API is a superset of :cite[path-gateway], the differences are documented below.

The main one is that Subdomain Gateway expects CID to be present in the `Host` header.

Expand Down Expand Up @@ -244,4 +243,5 @@ From there, regular subdomain gateway logic applies.

## Redirects, single-page applications, and custom 404s

Subdomain Gateway implementations are free to include `_redirects` file support defined in [`REDIRECTS_FILE.md`](./REDIRECTS_FILE.md).
Subdomain Gateway implementations are free to include `_redirects` file
support defined in :cite[redirects-file].

0 comments on commit 29d8158

Please sign in to comment.