wrangler: domain config
This commit is contained in:
@@ -16,6 +16,22 @@
|
|||||||
"enabled": true,
|
"enabled": true,
|
||||||
},
|
},
|
||||||
"upload_source_maps": true,
|
"upload_source_maps": true,
|
||||||
|
"routes": [
|
||||||
|
{
|
||||||
|
"pattern": "spacestream.cazzzer.com",
|
||||||
|
"custom_domain": true,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
/**
|
||||||
|
* Environment Variables
|
||||||
|
* https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables
|
||||||
|
* Note: Use secrets to store sensitive data.
|
||||||
|
* https://developers.cloudflare.com/workers/configuration/secrets/
|
||||||
|
*/
|
||||||
|
"vars": {
|
||||||
|
"PUBLIC_SPACETIMEDB_DB_NAME": "space-stream-b8trs",
|
||||||
|
"PUBLIC_SPACETIMEDB_HOST": "wss://maincloud.spacetimedb.com",
|
||||||
|
},
|
||||||
/**
|
/**
|
||||||
* Smart Placement
|
* Smart Placement
|
||||||
* https://developers.cloudflare.com/workers/configuration/smart-placement/#smart-placement
|
* https://developers.cloudflare.com/workers/configuration/smart-placement/#smart-placement
|
||||||
@@ -27,13 +43,6 @@
|
|||||||
* databases, object storage, AI inference, real-time communication and more.
|
* databases, object storage, AI inference, real-time communication and more.
|
||||||
* https://developers.cloudflare.com/workers/runtime-apis/bindings/
|
* https://developers.cloudflare.com/workers/runtime-apis/bindings/
|
||||||
*/
|
*/
|
||||||
/**
|
|
||||||
* Environment Variables
|
|
||||||
* https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables
|
|
||||||
* Note: Use secrets to store sensitive data.
|
|
||||||
* https://developers.cloudflare.com/workers/configuration/secrets/
|
|
||||||
*/
|
|
||||||
// "vars": { "MY_VARIABLE": "production_value" }
|
|
||||||
/**
|
/**
|
||||||
* Service Bindings (communicate between multiple Workers)
|
* Service Bindings (communicate between multiple Workers)
|
||||||
* https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings
|
* https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings
|
||||||
|
|||||||
Reference in New Issue
Block a user