Deploying to a subdomain


#1

it would be nice to have an option to deploy directly to the root, not to a folder “project”. so the webapp would work with sub.domain.com, instead of sub.domain.com/project.

BTW: comments should be removed from Code.js


#2

Why would this be nice? If you deployed two projects to the same URL, they would overwrite each other’s files.

Could you accomplish the same thing by putting an index.html file in sub.domain.com with a redirect to sub.domain.com/project?


#3

Removing the comments from code.js would cause chaos for people trying to debug. If you want to make your app smaller and harder to read, have a look at Obfuscation.

https://wiki.nsbasic.com/Obfuscation