We're updating the paths for design manager assets, including CSS and JS files. The paths will change from hs-fs/hub/*
to hs-fs/hubfs/*
.
This change impacts the URLs at which static design manager assets are served. This includes JS and CSS files linked at the template level as well as associated to HubSpot Modules.
Example old URL:
https://www.example.com/hs-fs/hub/123456789/hub_generated/template_assets/123456789/1726084829403/theme/css/utilities/_helper.min.css
Example new URL:
https://www.example.com/hs-fs/hubfs/hub_generated/template_assets/1/123456789/1737493186745/template__helper.min.css
This should not have a noticeable effect on most websites.
Sites that have hardcoded references to files will want to update the references to the new path. Possible reasons to have hard-coded URLs may have been performance enhancing techniques. Another group of sites that may be affected are those using HubSpot's reverse proxy functionality. You'll want to update your reverse proxy to explicitly allow the new path. The old paths will still work for accessing the existing files but could in the future be a redirect to the new URL creating a hop that could have been avoided.
Newly created assets after December 20, 2024 are already being served at the new path, we will be migrating existing assets over time starting February 12, 2025.
Questions or comments? Join us in the developer forums.