Skip to content

Commit afd4119

Browse files
committed
added "/" to the beginning of the path
1 parent 31da810 commit afd4119

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/assets/js/cache-busting.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports.register = function(Handlebars, options) {
1616
hash.write(fs.readFileSync(fullPath, function (err) { if (err) return 0 }).toString());
1717
hash.end();
1818
// creating a version string from first 6 hash characters
19-
hashCode = filePath + "?v=" + hashCode.substr(0, 6);
19+
hashCode = "/" + filePath + "?v=" + hashCode.substr(0, 6);
2020
return hashCode;
2121
});
2222
};

0 commit comments

Comments
 (0)