-
- Downloads
fix: rework URL generation for REST API endpoints
URL generation logic is complex and we should handle configuration like basepaths and the use of trailing slashes in a central location to avoid simple, but hard to find mistakes. This change also gets rid of the VUE_APP_API_STEERING_SHOWS env variable, that is just a 'shows/' suffix of the VUE_APP_API_STEERING env variable.
Showing
- docker.env.production 0 additions, 1 deletiondocker.env.production
- sample.env.development 0 additions, 3 deletionssample.env.development
- sample.env.production 0 additions, 1 deletionsample.env.production
- src/store/api-helper.js 22 additions, 0 deletionssrc/store/api-helper.js
- src/store/modules/auth.js 3 additions, 3 deletionssrc/store/modules/auth.js
- src/store/modules/files.js 10 additions, 13 deletionssrc/store/modules/files.js
- src/store/modules/playlists.js 5 additions, 5 deletionssrc/store/modules/playlists.js
- src/store/modules/shows.js 43 additions, 56 deletionssrc/store/modules/shows.js
Loading
Please register or sign in to comment