I need to access an absolute path to the assets folder in my javascript file, but Shopify adds a relative path every time I try.
I have contacted support multiple times about this and they have told me they don’t know how to solve this. Which feels like a lie???
Anyone else run into an issue with relative vs. absolute paths in the assets folder? Any solutions other than using the direct URL after uploading to the files in the preferences area? I’d prefer to be able to use assets in the code base rather than upload to files than copy and paste those urls (super hacky / bad code)
I haven’t found any other forum support on this.