I am developing a simple Go app engine app and trying to add some images to 
my app, but after 'go run .', when I go to http://localhost:8080/x.png, I 
get the script and not the image.

My app.yaml is as follows:

runtime: go111

handlers:
  - url: /stylesheets
    static_dir: stylesheets

  - url: /(.*\.(gif|png|jpg))$
    static_files: static/\1
    upload: static/.*\.(gif|png|jpg)$

  - url: /.*
    script: auto


The handler for images is not being triggered.  Even if I type random junk in 
the app.yaml, I don't see an error.  So, it seems to me that my app.yaml is 
being completely ignored.  Any ideas what I'm doing wrong?

David




-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/7612aaef-46a0-4b61-96cd-8da4830c6173%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-ap... David Manz
    • [goog... 'George (Cloud Platform Support)' via Google App Engine
      • [... David Manz
        • ... David Manz
          • ... 'Omair (Cloud Platform Support)' via Google App Engine
            • ... David Manz
              • ... 'Nicolas (Google Cloud Platform Support)' via Google App Engine

Reply via email to