diff --git a/examples/repeatable-docker-compose.yml b/examples/repeatable-docker-compose.yml index 1095253..e0186c1 100644 --- a/examples/repeatable-docker-compose.yml +++ b/examples/repeatable-docker-compose.yml @@ -22,4 +22,4 @@ services: ports: - "18080:80" dns: - - "8.8.8.8" \ No newline at end of file + - "8.8.8.8" diff --git a/index.html b/index.html index 59e17f0..8ba1354 100644 --- a/index.html +++ b/index.html @@ -8,7 +8,8 @@ Engagement Orchestration Services diff --git a/src/app.config.js b/src/app.config.js index 883c849..63ae4bd 100644 --- a/src/app.config.js +++ b/src/app.config.js @@ -1,7 +1,7 @@ -export const apiBaseUrl = import.meta.env.VITE_API_BASE_URL -export const routerBase = import.meta.env.VITE_ROUTER_BASE +export const apiBaseUrl = import.meta.env.VITE_API_BASE_URL; +export const routerBase = import.meta.env.VITE_ROUTER_BASE; export default { apiBaseUrl, routerBase, -} \ No newline at end of file +}; diff --git a/src/helpers/index.js b/src/helpers/index.js index 87d509a..57d38a4 100644 --- a/src/helpers/index.js +++ b/src/helpers/index.js @@ -1,4 +1,4 @@ -import { apiBaseUrl } from '../app.config.js'; +import { apiBaseUrl } from "../app.config.js"; export function getAuthKeyFromProperties(props) { var authKey; @@ -28,12 +28,9 @@ export function getTenantProperty(key, props) { var authKey = getAuthKeyFromProperties(props); console.log(`Fetching TPS Property [${key}]`); - fetch( - `${apiBaseUrl}/tps?propertyName=${key}&authKey=${authKey}`, - { - credentials: "include", // fetch won't send cookies unless you set credentials - } - ) + fetch(`${apiBaseUrl}/tps?propertyName=${key}&authKey=${authKey}`, { + credentials: "include", // fetch won't send cookies unless you set credentials + }) .then((response) => { // check for error response if (!response.ok) { diff --git a/src/main.js b/src/main.js index 6e5a2d8..91154f3 100644 --- a/src/main.js +++ b/src/main.js @@ -3,18 +3,17 @@ import "./style.css"; import App from "./App.vue"; import router from "./router"; /* import the fontawesome core */ -import { library } from '@fortawesome/fontawesome-svg-core' +import { library } from "@fortawesome/fontawesome-svg-core"; /* import font awesome icon component */ -import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome' +import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome"; /* import specific icons */ -import { faUserShield, faUserLock } from '@fortawesome/free-solid-svg-icons' +import { faUserShield, faUserLock } from "@fortawesome/free-solid-svg-icons"; /* add icons to the library */ -library.add(faUserShield) -library.add(faUserLock) - +library.add(faUserShield); +library.add(faUserLock); createApp(App) .use(router) diff --git a/src/router/index.js b/src/router/index.js index e8cc973..e03b62b 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1,5 +1,5 @@ import { createRouter, createWebHistory } from "vue-router"; -import { routerBase } from '../app.config.js'; +import { routerBase } from "../app.config.js"; import HomeView from "../views/HomeView.vue"; import AboutView from "../views/AboutView.vue"; import DebugFrameView from "../views/DebugFrameView.vue"; @@ -44,7 +44,7 @@ const routes = [ }, { path: "/telephonyContext", - name: "customerAccount", + name: "telephonyContext", components: { default: CustomerAccountView }, props: { default: (route) => ({ @@ -63,7 +63,7 @@ const routes = [ }, ]; -console.log(`mounting router on ${routerBase}`) +console.log(`mounting router on ${routerBase}`); const router = createRouter({ history: createWebHistory(), diff --git a/src/views/InteractionsFlowView.vue b/src/views/InteractionsFlowView.vue index 36a267b..22f5560 100644 --- a/src/views/InteractionsFlowView.vue +++ b/src/views/InteractionsFlowView.vue @@ -1,5 +1,5 @@