ampproject / ampproject/cloudflare-amp-optimizer

Docs: The proxy option

Open
#33 0 comments 0 reactions 1 assignee Claimed by @samouri View on GitHub
Dominant language
JavaScript
Stars
23
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Thank you for the README. It mentions the proxy option:
```
{
"proxy": {
"worker": "YOUR_WORKER_DOMAIN",
"origin": "YOUR_ORIGIN_DOMAIN"
}
}
```
however it sounds as if this needs to be changed in `wrangler.toml` (it is a route, right?), and after several attempts and dead ends it turned out that this does not work.

Could you change the text to make the proxy option clearer please? E.g.:

```
< You may configure it via the proxy option:
> You may configure it via the proxy option in `config.json`:
```

Many thanks.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.