http-server icon indicating copy to clipboard operation
http-server copied to clipboard

Better Proxy Support

Open za-songguo opened this issue 3 years ago • 5 comments

Description

Like this:

Request from the front end: /api/something

To the backend API: localhost:8000/something

Requests should be forwarded to the backend (without the path prefix /api)

Why is this useful?

It is useful in the most of the web applications 😄

za-songguo avatar Nov 22 '22 13:11 za-songguo

Hi @za-songguo!

This is actually a great idea! Thanks for sharing! At the moment I'm a bit busy but in the next days I'm likely to have more time to tackle this!

If you want to work on this let me know so I can assign this issue to you! Count on me for any questions you may have!

LeoBorai avatar Nov 25 '22 01:11 LeoBorai

Hi @za-songguo!

This is actually a great idea! Thanks for sharing! At the moment I'm a bit busy but in the next days I'm likely to have more time to tackle this!

If you want to work on this let me know so I can assign this issue to you! Count on me for any questions you may have!

Thanks for your reply, I am reading the source code to understand how this library works

za-songguo avatar Nov 25 '22 15:11 za-songguo

Hi @za-songguo! Any news on this?

LeoBorai avatar Oct 21 '23 18:10 LeoBorai

@EstebanBorai Maybe we need some help, I have been working on embedded development lately and have no time for it.

za-songguo avatar Oct 22 '23 01:10 za-songguo

@EstebanBorai Maybe we need some help, I have been working on embedded development lately and have no time for it.

Thanks for notifying!

LeoBorai avatar Oct 22 '23 02:10 LeoBorai

With new architecture I think a plugin can be implemented for this.

LeoBorai avatar Nov 27 '24 02:11 LeoBorai