Skip to content

For Multi Proxy, requests other than GET go to the first Proxy path #1209

Closed
@runia2000

Description

@runia2000

Version
3.0.0-beta.6

Reproduction link
114e085#diff-4e2c5ed8c804940845a451b7ffe71fcc

Steps to reproduce
Create two or more Proxies in the devServer> proxy of vue.config.js
Post request via Axios to second proxy
Ensure that the request is issued to the first proxy
What is expected?
We expect the request to be issued to the appropriate proxy.

What is actually happening?
For Multi Proxy, requests other than GET go to the first Proxy path

This seems to have occurred as a modification of the issue #945

In the PR 114e085#diff-4e2c5ed8c804940845a451b7ffe71fcc, the request other than GET is treated as true.

Therefore, in case of multi proxy, requests other than GET are directed to the first proxy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions