Replies: 2 comments
-
I see you uninstalled the |
Beta Was this translation helpful? Give feedback.
-
You could try some personal examples I did: Try to run the server locally first should show any errors you might have in your config, and hopefully you will then have better understanding on where it is failing. In the case of For example X-Forwarded-For could be used with cloudflare as an IP. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've spent a considerable amount of time trying to deploy a basic demo store to Cloudflare Workers this week, to no avail. I'm certainly no workers expert, so I'm afraid I won't be able to figure it out on my own. The documentation is helpful, but not sufficient for me to get this done successfully. Here are the steps I did:
Setting up demo store
Update .env
This works fine.
Cloudflare deployment
The docs tell me to adjust to the template code here.
./app/entry.server.jsx
./remix.config.js
./server.ts
.wrangler.toml (account_id deleted)
Updating package.json
Next, updated the server.js file to try and pass the storefront to the loader context, as stated in Step 5 of the docs.
I've tried with service worker code too.
Worker logs:
Like I said before, I'm not super familiar with either Workers or Remix, but it would be useful to have a template for this, so anyone could get started. Appreciate any input...
Beta Was this translation helpful? Give feedback.
All reactions