Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Form submission issue - Gatsby v2 #51

Closed
leeant06 opened this issue Oct 6, 2018 · 6 comments
Closed

Form submission issue - Gatsby v2 #51

leeant06 opened this issue Oct 6, 2018 · 6 comments

Comments

@leeant06
Copy link

leeant06 commented Oct 6, 2018

Minor issue with the the form submission in Gatsby v2
For reference: gatsbyjs/gatsby#7997
Change request: ./scr/components/Contact/Contact.js

line #37: fetch("/", ...) -> fetch("/?no-cache=1", ...)

@ghost
Copy link

ghost commented Oct 8, 2018

I noticed this, does not submit to Netlify

@mohsenkhanpour
Copy link
Contributor

@leeant06 Does changing that on line 37 solves the problem for you?

@leeant06
Copy link
Author

@mohsenkhanpour : by adding ?no-cache=1 to line #37 as shown above, the problem should be fixed.

@greglobinski
Copy link
Owner

greglobinski commented Oct 11, 2018

Upgrading gatsby and gatsby-plugin-offline fixed the issue.
1ed3dbe 831b022

@guiphh
Copy link

guiphh commented Nov 27, 2018

Hi guys,

I can't get the form working.
I've tried the no-cache=1 workaround but it's not working for me.
Is it working for you?

@guiphh
Copy link

guiphh commented Nov 27, 2018

Forget it, it's actually working, don't know why but it took a long time to appear on netlify admin.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants