I can't figure out how to link CSS style sheets into my html. This is how 
my app.yaml looks:

application: gulshan-singh
version: 1
runtime: python27
api_version: 1
threadsafe: yes

handlers:
- url: /favicon\.ico
  static_files: favicon.ico
  upload: favicon\.ico

- url: .*
  script: main.app
  
- url: /stylesheets/(.*\.css)
  mime_type: text/css
  static_files: stylesheets/\1
  upload: stylesheets/(.*\.css)

libraries:
- name: webapp2
  version: "2.5.1"
- name: jinja2
  version: latest


And I link my CSS like this:
<link rel="stylesheet" type="text/css" href="/stylesheets/styles.css">

I've also tried changing the handler to this:

- url: /stylesheets
  static_dir: stylesheets


That didn't work either. What am I doing wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/d5louhLakFgJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to