8000 Add more options for proxy context · Issue #2320 · vuejs/vue-cli · GitHub
[go: up one dir, main page]

Skip to content
Add more options for proxy context #2320
Open
@deraw

Description

@deraw

What problem does this feature solve?

In the docs for devServer.proxy, you link to this documentation : https://github.com/chimurai/http-proxy-middleware#context-matching, which contains multiple options for context maching, like exculsion, wich, I think, would be nice to have !

What does the proposed API look like?

// vue.config.js
devServer: {
	index: '',
	proxy: {
		'!\/dist\/*': {
			target: 'http://127.0.0.1:8000'
		}
	}
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0