Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@profullstack/openprofile": "^0.2.0",
"@profullstack/partners": "0.2.0",
"@profullstack/throttle": "^0.3.3",
"@profullstack/x402-gateway": "0.12.0",
"@profullstack/x402-gateway": "0.13.0",
"@simplewebauthn/browser": "^13.2.0",
"hono": "^4.10.3"
}
Expand Down
6 changes: 6 additions & 0 deletions apps/web/src/lib/pricing.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,14 @@ export function gatewayOptions(priceCents) {
* ~0.5 s on a desktop once a day for a person, the same on EVERY page for
* a swarm that changes address each page.
*/
/*
* The PoW did not slow it (its Chrome solves 17 bits), but it never loads
* a stylesheet: 11 of 5,394 swarm addresses fetched any CSS or JS. `css`
* makes a per-address stylesheet fetch set the second cookie.
*/
challenge: {
work: 17,
css: true,
paths: ['/i/', '/feeds/', '/tlds', '/tlds/'],
when: (_request, url) => url.pathname.startsWith('/i/') || url.search.length > 1,
},
Expand Down
4 changes: 2 additions & 2 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading