Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Typo: examples/server.js #35

Closed
runixer opened this Issue · 1 comment

2 participants

@runixer

On 83 and 86 line in current revision

Now:
if ('production' !== process.env.NODE_ENV && asset.isCompiled) {
asset.toArray().forEach(function (dep) {
paths.push('/assets/' + rewrite_extension(dep.logicalPath) + '?body=1');
});
} else {
paths.push('/assets/' + rewrite_extension(asset.digestPath));
}

As I think, must be:
if ('production' !== process.env.NODE_ENV && asset.isCompiled) {
asset.toArray().forEach(function (dep) {
paths.push('/assets/' + rewrite_extension(dep.logicalPath, ext) + '?body=1');
});
} else {
paths.push('/assets/' + rewrite_extension(asset.digestPath, ext));
}

Sorry for the lack of diff

@ixti ixti closed this issue from a commit
@ixti ixti Fix typo in an examples
Resolves #35.
2d6e485
@ixti ixti closed this in 2d6e485
@ixti
Collaborator

You're absolutely right. Thanks for noticing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.