Skip to content

Commit

Permalink
Changed back axios
Browse files Browse the repository at this point in the history
  • Loading branch information
AugustRushG committed Oct 21, 2022
1 parent 2cb3f93 commit 777a5a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions BACKEND/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ app.use(passport.initialize());
const cors = require('cors');
const corsOptions = {
credentials:true,
//origin:'https://recordit123.netlify.app',
origin:'http://localhost:3000',
origin:'https://recordit123.netlify.app',
// origin:'http://localhost:3000',
optionsSuccessStatus:220,
};
app.use(cors(corsOptions));
Expand Down
4 changes: 2 additions & 2 deletions start_page/src/api/axios.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ import axios from 'axios';
* Variable Accessed:
*/
export default axios.create({
baseURL: 'http://localhost:8080'
//baseURL: 'https://recordit123.herokuapp.com/'
//baseURL: 'http://localhost:8080'
baseURL: 'https://recordit123.herokuapp.com/'
});

0 comments on commit 777a5a6

Please sign in to comment.