阅读背景:

如何通过向另一个Web应用程序发出请求来从express.js提供一些URL?

来源:互联网 

I have written some code using express.js which I'd like to put on the same HTTP port as a web application implemented with another technology (in this case, Django). I don't want to have to redirect user browsers to another port since if I do they might bookmark URLs with the other port, and then I lose the ability to reconfigure the arrangements later. So, I'd like express.js to serve HTTP on its port, fulfilling some paths I specify by making HTTP requests to a secondary web application which is being served on another port. I have written some code using express.js which




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: