mirror of
https://github.com/prdlk/x-bookmarks-rss.git
synced 2026-08-02 17:31:42 +00:00
init(config): add initial configuration files
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"$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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user