Skip to content

Commit

Permalink
dont force donate, but action to donate again
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-pr-p committed Jul 10, 2018
1 parent d078a99 commit a9edcc9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from = "/donate"
to = "https://secure.actblue.com/donate/jdpacslate"
status = 302
force = true
[[redirects]]
from = "/*"
to = "https://jdems.us/:splat"
Expand Down
2 changes: 1 addition & 1 deletion src/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ module.exports = class HTML extends React.Component {
<input name="phone" type="tel" required="true" />
</form>
<form name="main-signup" netlify netlify-honeypot="bot-field" method="post" action="/" hidden>
<form name="main-signup" netlify netlify-honeypot="bot-field" method="post" action="/donate" hidden>
<input type="text" name="name" required="true" />
<input type="email" name="email" required="true" />
<input type="text" maxlength="5" minlength="5" name="zip" required="true" />
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const IndexPage = ({ data }) => {
netlify="true"
data-netlify-honeypot="bot-field"
method="post"
action="/"
action="/donate"
style={{
backgroundColor: "rgba(255, 255, 255, .8)",
minHeight: 60
Expand Down

0 comments on commit a9edcc9

Please sign in to comment.