The original post: /r/web_design by /u/exogreek on 2024-11-20 20:13:03.

Hello!

I have a neat project I have built that is a fake interactive terminal, built with vanilla js. I now want to publish this application to my small community to play around with, but there are secrets in the code that I do not want users to find.

Ive got godaddy shared hosting that I use to host the regular stie at the moment, but from what I have seen, theres no elegant solution to getting the .js files to sit on the backend, so the client is not able to digest them. I am looking for either a paid or free way to structure the files so that only static content I want (html, css, etc) are served to the client, while the index merely loads the .js files from the backend. Any tips on how to do this? I was so focused on building the app and debugging that this was a bit of an oversight. THANKS! :)