Skip to content

Commit

Permalink
Remove proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhenrique committed Nov 8, 2023
1 parent 939f04a commit e01d324
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/api/axiosInstance.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import axios from "axios";
* Define uma instancia do axios com a baseURL definida
*/
export const axiosInstance = axios.create({
baseURL: "/api",
baseURL: "https://interviewapipuc.azurewebsites.net/api",
});

export default axiosInstance;
6 changes: 3 additions & 3 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ export default defineConfig({
alias: [{ find: "@", replacement: path.resolve(__dirname, "src") }],
},
server: {
proxy: {
"/api": "https://interviewapipuc.azurewebsites.net",
},
// proxy: {
// "/api": "https://interviewapipuc.azurewebsites.net",
// },
},
});

0 comments on commit e01d324

Please sign in to comment.