Google App Engine: lose CSS on deployment?

Posted by Rosarch on Stack Overflow See other posts from Stack Overflow or by Rosarch
Published on 2010-04-09T01:14:51Z Indexed on 2010/04/09 1:23 UTC
Read the original article Hit count: 255

Filed under:

I have a Google App Engine app that works fine on the dev server. However, when I upload it, the CSS is gone. The scripts are still there, however.

From app.yaml:

- url: /scripts
  static_dir: Static/Scripts

- url: /styles
  static_dir: Static/styles

From the base template:

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <script type="text/javascript" src="./scripts/JQuery.js"></script>
    <script type="text/javascript" src="./scripts/sprintf.js"></script>
    <link rel="stylesheet" href="./styles/style.css" type="text/css" media="screen" />
</head>

What could be causing this? Am I doing something wrong?

© Stack Overflow or respective owner

Related posts about google-app-engine