Skip to content

Commit

Permalink
Update baseURL for API calls from FE to BE, update workflow to only p…
Browse files Browse the repository at this point in the history
…ush code to Azure App if changes are made to backend directory
  • Loading branch information
WavesOnly committed Sep 18, 2024
1 parent e66f5c4 commit 409c500
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/master_toomuchtodobackend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- master
paths:
- 'backend/**' # Only trigger when changes are made in the backend folder
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -82,5 +84,3 @@ jobs:
with:
app-name: 'TooMuchToDoBackend'
slot-name: 'Production'


4 changes: 2 additions & 2 deletions frontend/src/api/axios.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import axios from 'axios';

import { refreshIdToken } from '../features/user/userSlice';

const baseURL = 'http://127.0.0.1:7140'
// const baseURL = 'http://127.0.0.1:7140'
// const baseURL = 'http://54.74.182.174:7140/'
// const baseURL = 'https://api.toomuchtodo.app/'
const baseURL = 'https://toomuchtodobackend-febxffdeh5asbkea.westeurope-01.azurewebsites.net/'

let store

Expand Down

0 comments on commit 409c500

Please sign in to comment.