Comments (2)
I added a custom options.mapRequestToAsset
handler to solve this for now.
mapRequestToAsset: request => {
if (request.url.includes('.well-known/')) {
return new Request(url, request)
}
return mapRequestToAsset(new Request(request.url, request))
},
from workers-sdk.
I’m going to close this issue for now. Going forward, we’ll revisit the assets system as part of Pages/Workers convergence, and will inherit the benefits of the Pages assets system.
In the meantime, Pages is the best choice for deploying sites with static assets.
from workers-sdk.
Related Issues (20)
- chore: finish linting/typechecking the whole codebase
- 🚀 Feature Request: kv-asset-handler granular caching HOT 1
- 🚀 Feature Request: Event Notifications in `wrangler.toml` HOT 1
- 🐛 BUG: Pages project with Astro getting D1_ERROR: no such table: HOT 1
- 🐛 BUG: issues with async operations in Worker using Turborepo task execution HOT 2
- 🐛 BUG: When the environment variable is empty, bindings from another environment are loaded. HOT 1
- 🚀 Feature Request: HOT 2
- 🐛 BUG: `mockOAuthFlow` breaks Miniflare in tests HOT 2
- 🐛 BUG: wrangler D1 export doesn't work HOT 6
- chore: add lint/typecheck to fixtures/*
- 🐛 BUG: `kv` command logs no help message
- 🐛 BUG: [ERROR] statement too long HOT 1
- X [ERROR] Missing entry-point: The entry-point should be specified via the command line (e.g. `wrangler dev path/to/script`) or the `main` config field.
- C3 - Nuxt failures HOT 2
- 🐛 BUG: wrangler pages dev runtime failure HOT 3
- 🐛 BUG: Received structured exception #0xc0000005: access violation; HOT 3
- 🐛 BUG: HOT 1
- 🐛 BUG: @cloudflare/cli is not in npm
- 🐛 BUG: "Failed to register worker in local service registry" on `wrangler pages dev` if `wrangler.toml` exists HOT 2
- 🐛 BUG: C3 points to error log file with wrong timestamp
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from workers-sdk.