Closed lucaswxp closed 9 years ago
Hey guys.
I didn't find any "question" label, so I can't tag this.
How do I serve my static assets? I tried putting them in app/assets folder and add app.use(express.static(compound.root + '/app/assets')) in my config, but I still got errors like:
app/assets
app.use(express.static(compound.root + '/app/assets'))
Error: Undefined action img#logo.png(/img/logo.png)
Sorry for the noob question. I'm supposed to put my public assets in public/ folder, not app/assets.
Hey guys.
I didn't find any "question" label, so I can't tag this.
How do I serve my static assets? I tried putting them in
app/assets
folder and addapp.use(express.static(compound.root + '/app/assets'))
in my config, but I still got errors like:Error: Undefined action img#logo.png(/img/logo.png)