moroshko / gatsby-now-dev-issue

Home Page:https://gatsby-now-dev-issue.moroshko.now.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Repro

  1. Run now and visit <deployed URL>/api/endpoint to see that the endpoint works as expected.
  2. Run now dev and visit localhost:3000/api/endpoint to see that the endpoint doesn't work as expected. There is a 404 instead.

Notes

  1. Based on the now gatsby example
  2. now version: 15.7.0
  3. Removing the static builds builder from now.json fixes the issue.

About

https://gatsby-now-dev-issue.moroshko.now.sh

License:MIT License


Languages

Language:CSS 60.5%Language:JavaScript 39.5%