- Connected keycloak

- changed backend-api port
- started to work with the keycloak token to receive userdata
- connected backend-api
This commit is contained in:
josch
2024-04-29 10:30:25 +02:00
parent 12bc0a3733
commit ab1c4d0705
11 changed files with 127 additions and 82 deletions

View File

@@ -14,7 +14,7 @@ declare module '@vue/runtime-core' {
// good idea to move this instance creation inside of the
// "export default () => {}" function below (which runs individually
// for each client)
const api = axios.create({ baseURL: 'https://api.example.com' });
const api = axios.create({ baseURL: 'http://localhost:'+ process.env.PORT_BACKEND });
export default boot(({ app }) => {
// for use inside Vue files (Options API) through this.$axios and this.$api