Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ANS-108.md #27

Open
wants to merge 1 commit into
base: ans-108
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ans/ANS-108.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ The entire specification for a data uploader consists of a simple tag that Arwea

| Tag Name | _Optional?_ | Tag Value |
|---|---|---|
|Render-With|False|`Renderer-TX-ID`|
|Render-With|False|`Renderer-TX-ID || ArNS Subdomain`|


### Gateways

When serving data stored on Arweave, if a particular Arweave `TX-ID` contains the `Render-With` tag, gateways MUST use the information stored in the `Render-With` tag to redirect from `/{TX-ID}` to `/{Renderer-TX-ID}?tx={TX-ID}`, _unless_ the original transaction came with a `?render=false` query parameter.
When serving data stored on Arweave, if a particular Arweave `TX-ID` contains the `Render-With` tag, gateways MUST use the information stored in the `Render-With` tag to redirect from `/{TX-ID}` to `/{Renderer-TX-ID or ArNS Subdomain}?tx={TX-ID}`, _unless_ the original transaction came with a `?render=false` query parameter.

As an example, consider serving [Metaweave](https://metaweave.xyz/) post data via the arweave.net gateway. When any user accesses `https://arweave.net/MetaweavePostID`, they are redirected to `https://arweave.net/MetaweaveRendererID?tx=MetaweavePostID` if the `MetaweavePostID` Arweave transaction contains the tag `Render-With: MetaweaveRendererID`.

Expand Down