feat: edm service micro frontend config
This commit is contained in:
parent
f4020ec071
commit
8d157ea8c5
3 changed files with 4 additions and 1 deletions
|
|
@ -2,6 +2,7 @@
|
|||
import { ref, watch } from 'vue';
|
||||
import { getInstance } from 'src/services/keycloak';
|
||||
|
||||
const EDM_SERVICE = import.meta.env.VITE_EDM_MICRO_FRONTEND_URL;
|
||||
const kc = getInstance();
|
||||
const at = ref(kc.token);
|
||||
const rt = ref(kc.refreshToken);
|
||||
|
|
@ -17,7 +18,7 @@ watch(
|
|||
|
||||
<template>
|
||||
<iframe
|
||||
:src="`http://localhost:9001/?at=${at}&rt=${rt}`"
|
||||
:src="`${EDM_SERVICE}/?at=${at}&rt=${rt}`"
|
||||
frameborder="0"
|
||||
class="full-width full-height rounded"
|
||||
allowtransparency="true"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue