mirror of
https://github.com/prdlk/x-bookmarks-rss.git
synced 2026-08-02 09:31:37 +00:00
20 lines
548 B
JSON
20 lines
548 B
JSON
{
|
|||
|
|
"$schema": "node_modules/wrangler/config-schema.json",
|
||
|
|
"name": "x-bookmarks-rss",
|
||
|
|
"main": "src/index.ts",
|
||
|
|
"compatibility_date": "2024-09-01",
|
||
|
|
// D1 holds the bookmarks plus a small meta table (OAuth tokens, user id, last_sync).
|
||
|
|
"d1_databases": [
|
||
|
|
{
|
||
|
|
"binding": "DB",
|
||
|
|
"database_name": "x-bookmarks-db",
|
||
|
|
"database_id": "7548c661-37b4-474f-9584-28d1f6a24d55"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
// Non-secret tunables. Secrets (X_CLIENT_ID/SECRET, X_REFRESH_TOKEN) go via `wrangler secret put`.
|
||
|
|
"vars": {
|
||
|
|
"SYNC_TTL_SECONDS": "900",
|
||
|
|
"MAX_ITEMS": "100"
|
||
|
|
}
|
||
|
|
}
|