Hello, Just for better understanding, do you mean you are looking to have your App Engine application serve files from Google Cloud Storage[1]? I am not sure about the Storage you referenced in the first line of description "I've got a node server (express) that needs to serve files from Storage". Which Storage? Cloud Storage?
[1]https://cloud.google.com/appengine/docs/standard/nodejs/serving-static-files#serving_files_from On Thursday, October 8, 2020 at 7:22:14 PM UTC-4 [email protected] wrote: > Hi, > > I've got a node server (express) that needs to serve files from Storage. > The url would look something like example.com/thumbnails/filename.jpg > > I have registered a route with express for /thumbnails/:id which works > fine locally on my computer, but on appspot.com it will try to serve me a > static file instead, which it will not find. I will get a 404 error without > the server handler ever being invoked. > > I have a running server with a debug route here: > https://fiid-ee.ey.r.appspot.com/api/test/asdasda > > The above URL works fine and the handler should just respond with whatever > is after test/ > > If you add a .jpg extension, the server will give me a 404: > https://fiid-ee.ey.r.appspot.com/api/test/asdasdasd.jpg > > Again, I tested this locally and it doesn't seem to be a feature of the > server. The 404 page itself is not something implemented in Express nor > Nuxt.js > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/976a552d-7297-4226-aa4c-16de009cb88bn%40googlegroups.com.
