Closed zenflow closed 3 years ago
This should integrate with the proxy routes in a flexible way. For example, we should be able to mount static files at /admin and mount a proxy at / (default catch-all route) and vice-versa
/admin
/
https://expressjs.com/en/resources/middleware/serve-static.html
New companion package composite-service-http-gateway already supports serving static files
composite-service-http-gateway
This should integrate with the proxy routes in a flexible way. For example, we should be able to mount static files at
/admin
and mount a proxy at/
(default catch-all route) and vice-versahttps://expressjs.com/en/resources/middleware/serve-static.html