首页 > 解决方案 > 如何在反应应用程序上指定 http 响应标头?

问题描述

我的 react 应用程序的公共文件夹中有diagnostics.json,当我访问http://localhost:3000/diagnostics.json它时,它完美地显示了我的 json,但我想自定义/编辑 http 响应标头,我该怎么做?

标签: jsonreactjshttpheader

解决方案


推荐阅读