mirror of
https://github.com/geoffsee/open-gsio.git
synced 2025-09-08 22:56:46 +00:00

Replaces `createServerContext` with `createRequestContext` for clarity and consistency across the application. Migrates `wrangler.toml` to `wrangler.jsonc` for improved configuration management and compatibility. Updates related files to align with the new context model and configuration structure.
54 lines
1.0 KiB
JSON
54 lines
1.0 KiB
JSON
{
|
|
"name": "open-gsio",
|
|
"assets": {
|
|
"binding": "ASSETS",
|
|
"directory": "./dist/client"
|
|
},
|
|
"dev": {
|
|
"ip": "localhost",
|
|
"port": 3001
|
|
},
|
|
"compatibility_date": "2025-04-04",
|
|
"compatibility_flags": [
|
|
"nodejs_compat"
|
|
],
|
|
"main": "./workers/site/worker.ts",
|
|
"preview_urls": false,
|
|
"workers_dev": false,
|
|
"kv_namespaces": [
|
|
{
|
|
"binding": "KV_STORAGE",
|
|
// $ npx wrangler kv namespace create open-gsio
|
|
"id": "placeholderId",
|
|
// $ npx wrangler kv namespace create open-gsio --preview
|
|
"preview_id": "placeholderIdPreview"
|
|
}
|
|
],
|
|
"migrations": [
|
|
{
|
|
"new_classes": [
|
|
"SiteCoordinator"
|
|
],
|
|
"tag": "v1"
|
|
}
|
|
],
|
|
"services": [
|
|
{
|
|
"binding": "EMAIL_SERVICE",
|
|
"service": "email-service-rpc"
|
|
}
|
|
],
|
|
|
|
"durable_objects": {
|
|
"bindings": [
|
|
{
|
|
"class_name": "SiteCoordinator",
|
|
"name": "SITE_COORDINATOR",
|
|
"script_name": "open-gsio"
|
|
}
|
|
]
|
|
},
|
|
"observability": {
|
|
"enabled": true
|
|
}
|
|
} |