mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Convert the Windows-styled path from Assets.get* calls
This commit is contained in:
@@ -1285,6 +1285,7 @@ _.extend(JsImage.prototype, {
|
||||
// XXX This is mostly duplicated from server/boot.js, as is Npm.require
|
||||
// below. Some way to avoid this?
|
||||
var getAsset = function (assets, assetPath, encoding, callback) {
|
||||
assetPath = files.convertToStandardPath(assetPath);
|
||||
var fut;
|
||||
if (! callback) {
|
||||
if (! Fiber.current)
|
||||
|
||||
Reference in New Issue
Block a user