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