- Connected keycloak
- changed backend-api port - started to work with the keycloak token to receive userdata - connected backend-api
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user