APIs & Integrations

meganvisser
Participant

Uploading .js file to root level directory of website

SOLVE

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.

0 Upvotes
1 Accepted solution
IsaacTakushi
Solution
HubSpot Employee
HubSpot Employee

Uploading .js file to root level directory of website

SOLVE

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.

Isaac Takushi

Associate Certification Manager

View solution in original post

0 Upvotes
2 Replies 2
IsaacTakushi
Solution
HubSpot Employee
HubSpot Employee

Uploading .js file to root level directory of website

SOLVE

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.

Isaac Takushi

Associate Certification Manager
0 Upvotes
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Uploading .js file to root level directory of website

SOLVE

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.

0 Upvotes