diff --git a/README.md b/README.md index 3b37c50..8c5c0a9 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Jacob Krol: The Web Development Journey -Welcome to my GitHub! This is the host repository of my main webpage, [jacobkrol.github.io](https://jacobkrol.github.io/). This isn't my profile page, but I'd like to share how my webpage got to be what it is today. +Welcome to my GitHub! This is the host repository of my main webpage, [jacobkrol.github.io/Jacob-Krol](https://jacobkrol.github.io/Jacob-Krol/). This isn't my profile page, but I'd like to share how my webpage got to be what it is today. ### Learning JavaScript diff --git a/package.json b/package.json index 3d2a852..601032d 100644 --- a/package.json +++ b/package.json @@ -2,19 +2,22 @@ "name": "myapp", "version": "0.1.0", "private": true, - "homepage": "https://jacobkrol.github.io/", + "homepage": "https://jacobkrol.github.io/Jacob-Krol/", "dependencies": { "react": "^16.13.1", "react-dom": "^16.13.1", "react-icons": "^3.10.0", "react-router": "^5.2.0", "react-router-dom": "^5.2.0", - "react-scripts": "3.4.1" + "react-scripts": "3.4.1", + "gh-pages": "^3.1.0" }, "scripts": { "start": "react-scripts start", "build": "react-scripts build", - "eject": "react-scripts eject" + "eject": "react-scripts eject", + "predeploy": "npm run build", + "deploy": "gh-pages -d build" }, "eslintConfig": { "extends": "react-app" diff --git a/src/components/utilities/Form.js b/src/components/utilities/Form.js index a96bb94..d7303cd 100644 --- a/src/components/utilities/Form.js +++ b/src/components/utilities/Form.js @@ -32,7 +32,7 @@ class Form extends React.Component { let status = null; const errText = "An error has occurred submitting your feedback. Please verify your internet connection and try again later.\n\nError Code: "; //make api fetch call to server - fetch('https://herokuapp.com/add',requestOptions) + fetch('https://jacob-krol.herokuapp.com/add',requestOptions) //save http status, return response text .then(res => { status = res.status;