On Nov 9, 1:21 pm, deostroll <[email protected]> wrote:
> Can't get the app.yaml configuration right for serving my javascript
> files. In my app directory I've a folder name js wherein I plan to
> host all my javascript files. I've done something like this for my
> yaml file:
>
> - url: /js
>   static_dir: js
>
> Shouldn't this do actually?


So what happens when you visit: yourappname.appspot.com/js/foo.js
404 Not Found?


Maybe you added this URL to the end of app.yaml, but further up in the
file you have a more general handler?

- url: /.*
  script: main.py

The URLs are checked in order, so in this case the main.py script
would be called for the URL /js/foo.js.


Maybe you bumped the 'version' field in app.yaml and forgot to set the
new version as the default?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to