Skip to content

Commit

Permalink
some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
giuseppe99barchetta committed Oct 23, 2024
1 parent dce012f commit 8e61a52
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion suggestarr-frontend/src/api/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const authenticateUser = (url, token, userName, password) => {

// Function to fetch Jellyfin libraries
export function fetchJellyfinLibraries(apiUrl, apiKey) {
return axios.post(`http://localhost:5000/api/jellyfin/libraries`, {
return axios.post(`/api/jellyfin/libraries`, {
JELLYFIN_API_URL: apiUrl,
JELLYFIN_TOKEN: apiKey
});
Expand Down
2 changes: 1 addition & 1 deletion suggestarr-frontend/src/components/LogsComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default {
},
methods: {
fetchLogs() {
axios.get('http://localhost:5000/api/logs')
axios.get('/api/logs')
.then(response => {
this.logs = this.parseLogs(response.data).reverse();
})
Expand Down
2 changes: 1 addition & 1 deletion supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ stderr_maxbytes=0
stdout_logfile_maxbytes = 0
stderr_logfile_maxbytes = 0

[program:gunicorn]
[program:uvicorn]
command=uvicorn app:asgi_app --host 0.0.0.0 --port 5000 --log-level info
directory=/app
autorestart=true
Expand Down

0 comments on commit 8e61a52

Please sign in to comment.