标签: node.js express
如何从其他服务器提供静态文件(例如index.html)
app.use(express.static('http://example.com/'))
答案 0 :(得分:0)
诸如(click)="saveIncidents(incidents)" 之类的代理可以做到这一点:
(click)="saveIncidents(incidents)"
http-proxy-middleware
请参阅https://www.npmjs.com/package/http-proxy-middleware