admin管理员组文章数量:1125793
My server is only serving static html, css and js files, so I want to remove the server. Is there a way to automatically do this, but also preserve the folder structure of the public static folders? The href links should point towards the actual file locations now (since express.static isn't there anymore). Please note that I am using EJS to "concatenate" html files.
In other words, I want to be able to send this group of files to anyone, and they can download it, and open the index.html manually in browser, without needing to start a server.
本文标签: nodejsHow to output static html files with ExpressJSStack Overflow
版权声明:本文标题:node.js - How to output static html files with ExpressJS? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736672503a1946994.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论