Skip to content

Web Development Proxy Server #170834

@ditman

Description

@ditman

Document Link

https://flutter.dev/go/web-development-proxy-server

What problem are you solving?

Other web frameworks that offer a dev server let programmers configure them as a proxy to allow for certain requests to the dev server to be routed to other resources, for example, requests to /api/user/1234 end up hitting https://my-other-local-service:port/api/user/1234 instead of the development server.

This is convenient because when the app is deployed in production, those /api mappings are normally done with hosting configuration.

This project aims to add that functionality to the Flutter dev server, by incorporating package:shelf_proxy into flutter_tools, and a new configuration file for this proxy feature.

Take a peek at the linked design doc for more background, state of the art, and a proposed solution.

Metadata

Metadata

Assignees

Labels

Bot is counting down the days until it unassigns the issue📜Issue was posted to Discord. Remove to have the issue reannounced. (For "design doc", "emergency")design docTracks a design discussion document

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions