我正在尝试构建一个示例 Web 应用程序来演示 休息 使用技术 去 在后端,服务 json 基于请求和 javascript, 查询在前端(我没有使用html/template包)。文件服务器 "returns a handler that serves HTTP requests with the contents of the file system rooted at root."假设我要发布static包含一些 文件的文件夹index.html和scripts文件夹javascript。如何防止客户端查看我的js文件(仅发布index.htmlat /)?
1 回答
- 1 回答
- 0 关注
- 222 浏览
添加回答
举报
0/150
提交
取消