Uploading .js file to root level directory of website


#1

Hi Forum,

Does anyone know if this is possible?

  1. I need to upload 2 .js files to the to the top-level root of our website directory that is hosted with HubSpot
  2. I need to upload a .json file to the same place, is this possible?
  3. I need the public URL of these files

NB. For context, I'm setting up website push notifications using OneSignal.


#2

Hi @MeganV,

HubSpot doesn't currently allow files to be hosted on the root domain; I can totally see the use case for that, though. If you have the inclination, I would encourage you to check out the Ideas Forum on the HubSpot Community. There, you can create a post including your use case that product and other customers can see.


Upload files to website root directory
#4

To others viewing this topic, please see my response here and upvote and comment on this HubSpot Community Ideas Forum post if you would like root domain hosting added to HubSpot.


#5