Skip to content

Commit d716607

Browse files
Merge pull request #309 from oslabs-beta/master
backend again functional
2 parents 6e429f9 + 627eb84 commit d716607

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/client/components/composer/WebhoContainer.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ const WebhookContainer = ({
116116

117117
// turn on ngrok connection/URL
118118
// request server.js to generate and return a webhook URL
119-
fetch('/webhookServer', {
119+
fetch('http://localhost:3000/webhookServer', {
120120
method: 'POST',
121121
headers: {
122122
'Content-Type': 'application/json',
@@ -135,7 +135,7 @@ const WebhookContainer = ({
135135
} else if (serverStatus) {
136136
// request server to kill webhook url instance
137137
updateServerStatus(false);
138-
fetch('/webhookServer', {
138+
fetch('http://localhost:3000/webhookServer', {
139139
method: 'DELETE',
140140
headers: {
141141
'Content-Type': 'application/json',

0 commit comments

Comments
 (0)