pull/3455/head
Tuğçe Küçükoğlu 2022-12-28 11:48:05 +03:00
parent 6764d74e92
commit cfd26964d7
3 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,7 @@
export default class CustomerService { export default class CustomerService {
constructor() { constructor() {
const runtimeConfig = useRuntimeConfig(); const runtimeConfig = useRuntimeConfig();
this.contextPath = runtimeConfig.public.contextPath; this.contextPath = runtimeConfig.public.contextPath;
} }

View File

@ -1,6 +1,7 @@
export default class NodeService { export default class NodeService {
constructor() { constructor() {
const runtimeConfig = useRuntimeConfig(); const runtimeConfig = useRuntimeConfig();
this.contextPath = runtimeConfig.public.contextPath; this.contextPath = runtimeConfig.public.contextPath;
} }

View File

@ -1,7 +1,7 @@
export default class ProductService { export default class ProductService {
constructor() { constructor() {
const runtimeConfig = useRuntimeConfig(); const runtimeConfig = useRuntimeConfig();
this.contextPath = runtimeConfig.public.contextPath; this.contextPath = runtimeConfig.public.contextPath;
} }