Removes slash from end of path
ts.graphicsDir = ‘http://domain.com/wp-content/my-files/graphics/’;
W3TC was changing it into this, which broke the JS library:
ts.graphicsDir = ‘http://cdn6.domain.com/wp-content/my-files/graphics’;
I fixed the problem by adding an exception to W3TC:
CDN settings, Rejected files:
- The topic ‘Removes slash from end of path’ is closed to new replies.