Skip to content

Commit

Permalink
Change contact form URL
Browse files Browse the repository at this point in the history
  • Loading branch information
tfrancart committed Mar 6, 2024
1 parent 53bf627 commit d578d62
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/contact/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ <h2>Vous avez une question ?</h2>
<script>
function submitToAPI(e) {
e.preventDefault();
var URL = "https://is6bx3d0uh.execute-api.eu-central-1.amazonaws.com/v1/sparna_email_forward";
var URL = "https://lyy1bpmcy3.execute-api.eu-central-1.amazonaws.com/v1/sparna_email_forward";

var name = $("#name-input").val();
var email = $("#email-input").val();
Expand All @@ -113,7 +113,7 @@ <h2>Vous avez une question ?</h2>
$.ajax({
type: "POST",
// The URL is from API Gateway
url : "https://is6bx3d0uh.execute-api.eu-central-1.amazonaws.com/v1/sparna_email_forward",
url : URL,
dataType: "json",
crossDomain: "true",
contentType: "application/json; charset=utf-8",
Expand Down
4 changes: 2 additions & 2 deletions src/contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ <h2>Vous avez une question ?</h2>
<script>
function submitToAPI(e) {
e.preventDefault();
var URL = "https://is6bx3d0uh.execute-api.eu-central-1.amazonaws.com/v1/sparna_email_forward";
var URL = "https://lyy1bpmcy3.execute-api.eu-central-1.amazonaws.com/v1/sparna_email_forward";

var name = $("#name-input").val();
var email = $("#email-input").val();
Expand All @@ -71,7 +71,7 @@ <h2>Vous avez une question ?</h2>
$.ajax({
type: "POST",
// The URL is from API Gateway
url : "https://is6bx3d0uh.execute-api.eu-central-1.amazonaws.com/v1/sparna_email_forward",
url : URL,
dataType: "json",
crossDomain: "true",
contentType: "application/json; charset=utf-8",
Expand Down

0 comments on commit d578d62

Please sign in to comment.