Comments (3)
Unfortunately I don't know of any way to run the express middleware again (or to programmatically simulate an incoming request). Do you have any idea how we can implement or improve this situation?
from connect-history-api-fallback.
I checked this for express.js also. Found no way. Frankly, I have not
checked express.js code for hints/tricks.
We may try to do a sub request in a way reverse proxy does.
Probably this is a feature request to express.js?
from connect-history-api-fallback.
Probably this is a feature request to express.js
Yes, probably. Unfortunately this is not something that many people need, hence I fear that it does not justify a new public API.
from connect-history-api-fallback.
Related Issues (20)
- URL with ending slash. HOT 1
- Problem with static assets
- Normalize rewrites HOT 5
- dont't fallback to index page if browser doesn't want html HOT 7
- Doesn't work when a route is reloaded HOT 1
- What if the index.html is not in the root directory,such as it's in the src directory? HOT 1
- Is there a way only fallback to index.html when 404 (not exist file)
- mistakenly rewriting non extension files as extensioned files HOT 5
- HEAD requests are not accepted HOT 3
- hisotryApiFallback rewrites don't work HOT 1
- Dynamic content in index.html HOT 3
- Dealing with trailing slashes
- GET request does not go through while other requests do like POST AND PUT etc... HOT 1
- disableDotRule causes png, jpeg files to rewrite to index.html
- js file not found when subdirectory visited directly HOT 2
- Should History API fallback use HTTP content negotiation?
- Audit vulnerabilities detected in the connecthistoryapifallback project on Tag: v1.6.0
- Running code from another path causes history api not to work HOT 2
- Is there any KOA middleware HOT 1
- Hh
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 connect-history-api-fallback.