Skip to content

how to config proxy to different origin API endpoints #66

@futurist

Description

@futurist

Seeking to similar way as webpack dev server proxy does below:

module.exports = {
  //...
  devServer: {
    proxy: {
      '/api1': 'http://localhost:3000',
      '/api2': 'http://localhost:4000',
    },
  },
};

But cannot figure out how to do it in wright, can give some hints for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions