From 95dd607572e54728b2a9f23c786dd53758ac030e Mon Sep 17 00:00:00 2001 From: Felipe Forbeck Date: Wed, 13 Nov 2024 15:53:13 -0300 Subject: [PATCH] enable egress tracking in staging --- scripts/delegate-serve.js | 2 +- wrangler.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/delegate-serve.js b/scripts/delegate-serve.js index 2fe96e2..705b8d7 100644 --- a/scripts/delegate-serve.js +++ b/scripts/delegate-serve.js @@ -10,7 +10,7 @@ cli .option('--accountDID', 'The account DID to use when creating a new space.') .option('--gatewayDID', 'The gateway DID to use when delegating the space/content/serve capability. Defaults to did:web:staging.w3s.link.') .describe( - `Delegates ${Space.contentServe.can} to the Gateway for a test space generated by the script, with an optional auth token. Outputs a base64url string suitable for the stub_delegation query parameter. Pipe the output to pbcopy or similar for the quickest workflow. If the GATEWAY_PRINCIPAL_KEY environment variable is not set, a new key pair will be generated.` + `Delegates ${Space.contentServe.can} to the Gateway for a test space generated by the script, with an optional auth token. Outputs a base64url string suitable for the stub_delegation query parameter. Pipe the output to pbcopy or similar for the quickest workflow.` ) .action(async (space, token, accountDID, gatewayDID, options) => { const { space: spaceOption, token: tokenOption, accountDID: accountDIDOption, gatewayDID: gatewayDIDOption } = options diff --git a/wrangler.toml b/wrangler.toml index 967f5b1..f4e3c99 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -69,7 +69,7 @@ command = "npm run build" [env.staging.vars] MAX_SHARDS = "825" FF_RATE_LIMITER_ENABLED = "false" -FF_EGRESS_TRACKER_ENABLED = "false" +FF_EGRESS_TRACKER_ENABLED = "true" FF_TELEMETRY_ENABLED = "false" GATEWAY_SERVICE_DID = "did:web:staging.w3s.link" UPLOAD_SERVICE_DID = "did:web:staging.web3.storage"