Reputation: 1565
I am writing a Meteor application template to illustrate various elementary features and am not able to serve a file from the public/ directory:
Yet this file exists in the public/images directory.
What am I doing wrong?
Upvotes: 2
Views: 166
Reputation: 1565
Fixed. The problem was that the .meteor directory was not in the app/ directory, but in the directory above it.
This didn't cause any problems until trying to retrieve a static asset.
Upvotes: 0
Reputation: 1565
OK, I really hate to say this, but all of a sudden, it just started to work. The fact that others have run my app and encountered the same issue makes this even stranger.
The repo's README now illustrates the appropriate behavior where the image is successfully displayed on the home page using:
<img style="float:left" width="240px" class="img-circle" src="/images/meteor-logo.png" />
I am at a loss to explain this.
Upvotes: 1