如何仅使用节点上的http模块来允许跨域共享。我不想使用快递或任何其他框架。允许在节点上跨域共享
来源
2016-11-05 COMisHARD
找到this bit of code,它使用http模块输出CORS头。
2016-11-05 06:43:13 Zach