Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS returning 404 #1

Closed
jridgewell opened this issue Jan 10, 2010 · 2 comments
Closed

CSS returning 404 #1

jridgewell opened this issue Jan 10, 2010 · 2 comments

Comments

@jridgewell
Copy link

Whenever I cultivate, the server looks for my css files inside of ROOT/content/css. Shouldn't this be looking for CSS inside the ROOT/public/docs/css or ROOT/output/docs/css?

$ bonsai --cultivate

  
  盆栽
  bonsai, tiny and beautiful
  
Copying public files
Copying page assets
Copying public files
Copying page assets
>> Thin web server (v1.2.5 codename This Is Not A Web Server)
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:5000, CTRL+C to stop
!! Unexpected error while processing request: page 'css/base.css' not found at '/Users/test/Sites/rails/test/content'
!! Unexpected error while processing request: page 'css/base.css' not found at '/Users/test/Sites/rails/test/content'
@benschwarz
Copy link
Owner

The server is correct, but the path in the example HTML is incorrect.
You will need to prepend /docs/ to the path so that it reads /docs/css/base.css

I have fixed this (yesterday) however it has not yet been released as a gem.
I'll leave this issue open until such time.

@benschwarz
Copy link
Owner

1.1.1 closes this issue.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants