Re: [google-appengine] Re: dispatch.yaml not routing

2022-03-25 Thread 'sivaranja...@google.com' via Google App Engine
Hi , The following app.yaml file should work with Gatsby using the handlers like handlers: - url: / static_files: public/index.html upload: public/index.html - url: /((.*\/)*[^\/]+\.[^\/]+)$ static_files: public/\1 upload: public/.* - url: /(.*)$ static_files: public

Re: [google-appengine] Re: dispatch.yaml not routing

2022-03-21 Thread 'Rajesh G' via Google App Engine
FYI, I explored gatsby-express-plugin It does not have the above two issues. Please see bgsample.appspot.com/gatsby-express

Re: [google-appengine] Re: dispatch.yaml not routing

2022-03-17 Thread 'Rajesh G' via Google App Engine
I am further continuing to explore deploying a gatsby project to appengine I created an appengine service called 'gatsby', and I want to serve in the following manner https://bgsample.appspot.com/gatsby

Re: [google-appengine] Re: dispatch.yaml not routing

2022-03-15 Thread 'Rajesh G' via Google App Engine
Ok. It works now. Thanks On Mon, Mar 14, 2022 at 9:35 PM 'Jofre Riba Sánchez' via Google App Engine < google-appengine@googlegroups.com> wrote: > Your app.js in the prolisting folder of the example repo does not have a > handler for the /prolisting path. This is why express can't get the > /pro

[google-appengine] Re: dispatch.yaml not routing

2022-03-14 Thread 'Jofre Riba Sánchez' via Google App Engine
Your app.js in the prolisting folder of the example repo does not have a handler for the /prolisting path. This is why express can't get the /prolisting [1]. Fix this by adding an additional handler for the path in app.js: app.get('/prolisting', (req, res) => { res.status(200).send('Hello, worl