Skip to content

Commit

Permalink
Add Procfile for deployed site
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-Ainsworth committed Sep 21, 2022
1 parent 6d58f2d commit 023624b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: serve -s build
2 changes: 1 addition & 1 deletion src/api/axiosDefaults.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// External
import axios from "axios";

axios.defaults.baseURL = "https://crepchat-api.herokuapp.com/";
axios.defaults.baseURL = "http://127.0.0.1:8000/";
axios.defaults.headers.post["Content-Type"] = "multipart/form-data";
axios.defaults.withCredentials = true;

0 comments on commit 023624b

Please sign in to comment.