Skip to content

Commit

Permalink
changing endpoints URL
Browse files Browse the repository at this point in the history
  • Loading branch information
codeschris committed Dec 4, 2023
1 parent 55dc4d7 commit 0588bfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/sendsmsform.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const SmsModal = ({ isOpen, onRequestClose }) => {
formData.append('message_body', messageBody);

try {
const response = await axios.post('http://127.0.0.1:8000/api/send_sms/', formData);
const response = await axios.post('https://codeschris.pythonanywhere.com/api/send_sms/', formData);
const data = response.data;

if (data.success) {
Expand Down

0 comments on commit 0588bfc

Please sign in to comment.