Skip to content

Commit

Permalink
Update API endpoint url after deploying with heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
TiannaLopes committed Oct 12, 2024
1 parent 2d58138 commit 78ac2be
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ <h2><a href="index.html">Home</a></h2>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.3</a> on Wed Oct 09 2024 12:30:32 GMT-0400 (Eastern Daylight Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.3</a> on Wed Oct 09 2024 12:32:00 GMT-0400 (Eastern Daylight Time)
</footer>

<script> prettyPrint(); </script>
Expand Down
3 changes: 2 additions & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ export default {
* This function initiates the login flow by navigating to the backend login endpoint.
*/
const login = () => {
window.location.href = 'http://localhost:3000/auth/login';
window.location.href =
'https://outlook-scheduler-poc-be-e4c1fcd1a068.herokuapp.com/auth/login';
};
/**
Expand Down
3 changes: 2 additions & 1 deletion src/authConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ export const msalConfig = {
clientId: '1c0e40a8-4c6d-458e-9ed6-2167e7f2f47e',
authority:
'https://login.microsoftonline.com/434eb67d-52fc-447c-8ebf-7aaeda62969f',
redirectUri: 'http://localhost:3000/auth/callback',
redirectUri:
'https://outlook-scheduler-poc-be-e4c1fcd1a068.herokuapp.com/auth/callback',
},
cache: {
cacheLocation: 'localStorage',
Expand Down
2 changes: 1 addition & 1 deletion src/components/AppointmentForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default {
}
const response = await axios.post(
'http://localhost:3000/appointments',
'https://outlook-scheduler-poc-be-e4c1fcd1a068.herokuapp.com/appointments',
{
accessToken: token,
title: title.value,
Expand Down

0 comments on commit 78ac2be

Please sign in to comment.