the whole of wrangler.toml is safe to share wherever
the whole of wrangler.toml is safe to share wherever
wrangler dev uses chrome dev tools to inspect worker requests. But I can't see the picture yet.chrome-devtools . But I can't locate how wrangler starts chrome and talk to it. openInspector() it just opens an webpage at https://devtools.devprod.cloudflare.dev/js_app js_app page is but a webpage built on devtools code. It just talk to local WS in devtools protocol.Failed to establish a new connection: [Errno 61] Connection refused (when trying to connect to :8787 via fetch). this has never happened to me before. is there any solution to this?cloudflare/wrangler-action@v3?pages deploy PATH --project-name=kaget --branch=main the result has duplicate project name which leads to error no such file or directory

pages deploy <path> as the command but you don't seem to be building the site in the Action which is why the dist folder seems missingRate limited. Please wait and consider throttling your request speed [code: 10000] ? We started seeing increased instances of this.wranger deploy in CI (gh actions), so I don't think there's reference to my username in that environment. Or am I missing osmething?wrangler dev session for class "ExampleDO" to proxy to)
npx wrangler@latest pages dev distnpx wrangler@<version>? Getting sudden 404's for everything12/6/24, 6:20 PM
export default {
async fetch(req, env) {
if (req.method !== "POST")
return Response.json({ message: "Method Not Allowed" }, { status: 405 });
return Response.json({ status: "OK" }, { status: 200 });
}
}name: Deploy staging
on:
push:
branches:
- main
jobs:
cloudflare:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 8
- name: Deploy to Cloudflare Pages
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
packageManager: pnpmnpx wrangler@latest pages dev distnpx wrangler@<version>