python - Uploading a Single Static File to GAE Using app.yaml -


greetings,

i trying upload 2 single static files (a css & html) appspot. however, they're in root directory. i've tried static_dir , static_files don't work.

what i'm trying upload page.html /site/ have on root directory because need on same dir app.yaml.

here portion of app.yaml:

- url: /page.html   static_files: /\1.html   upload: /page.html - url: /page.css   static_files: /\1.css   upload: /page.css 

thank taking time read this.

\1 replaced first matched group in regular expression url. url has no groups, nothing.

you can do:

- url: /page.html   static_files: page.html   upload: /page.html - url: /page.css   static_files: page.css   upload: /page.css 

Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -