Skip to content

Allow multiple proxies for dev server. #148

@hayleigh-dot-dev

Description

@hayleigh-dot-dev

Currently, users can configure an api proxy for the development server by adding the following to their gleam.toml:

[tools.lustre.dev]
proxy = { from = "/api", to = "http://localhost:3000/api" }

It's not uncommon to want to configure multiple proxies, for example to serve additional static assets from a separate server app. We should support both single object proxy configuration and array of objects!

Metadata

Metadata

Assignees

No one assigned

    Labels

    developer experienceThings that improve the DX of using Lustre.help wantedGood issues for external contributors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions