Browse Source

change fetch on client to match new server locatio

master
Rich Brown 5 months ago
parent
commit
33b3e4a354
2 changed files with 4 additions and 1 deletions
  1. +3
    -0
      .gitignore
  2. +1
    -1
      public/index.html

+ 3
- 0
.gitignore View File

@@ -1,3 +1,6 @@
build/
.env

# Logs
logs
*.log


+ 1
- 1
public/index.html View File

@@ -26,7 +26,7 @@
form.addEventListener("submit", (e) => {
e.preventDefault();
const code = document.getElementById("code").value;
fetch("/go", {
fetch("https://www.porknachos.com/howard-podcast/go", {
method: "POST",
headers: {
'Content-Type': 'application/json'


Loading…
Cancel
Save