-
Node.js
var express = require('express');
var app = express.createServer();
var path = require('path');
var AWS = require('aws-sdk');
var bodyParser = require('body-parser');
var multipart…
-
### Prerequisites
- [X] I have written a descriptive issue title
- [X] I have searched existing issues to ensure the feature has not already been requested
### 🚀 Feature Proposal
Fastify a…
-
I got the following code:
```js
app.use(history());
app.get('/index.html', (req, res) => {
...
}
```
Is there any way to get the original path (before rewrite) inside the handler for `/index.…
-
### Current State
The current [documentation of the serverless Plugin](https://apisix.apache.org/docs/apisix/plugins/serverless/#enabling-the-plugin) shows a simple example of a log function:
```l…
-
### Current Behavior
Using Firefox version >= 128.0 the `/logout` path provided by the openid-connect plugin is not redirecting to the configured IDP for logout but instead returning a 1x1 pixel imag…
-
**Describe the bug**
Hi! I've been struggling with this issue for the past afternoon, and after a lot of researches, I'm starting to suspect this is a bug.
I can't apply a TCPMapping tls/host config…
Mokto updated
1 month ago
-
I want to rewrite request cookie using following code, but didn't work.
```javascript
proxy.on('proxyReq', function (proxyReq, req, res) {
proxyReq.setHeader('cookie', 'SESSION=123');
});
```…
-
I want to rewrite request cookie using following code, but didn't work.
```javascript
proxy.on('proxyReq', function (proxyReq, req, res) {
proxyReq.setHeader('cookie', 'SESSION=123');
});
```…
-
Switched to Vite which uses this library under the hood. Any way to switch the target based on request headers like the below library,
https://github.com/chimurai/http-proxy-middleware/issues/273
-
## Demo
https://codesandbox.io/p/sandbox/vite-plugin-html-redirect-demo-jhjqtn?file=%2Fvite.config.js
## Reproduce steps
1. Set server.proxy rules and use vite-plugin-html
```js
import { de…