@inspirer-dev/crm-dashboard 1.0.54 → 1.0.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@ const getBackendUrl = async (): Promise<string> => {
6
6
  }
7
7
 
8
8
  try {
9
- const res = await fetch('/crm-dashboard/config');
9
+ const res = await fetch('/api/crm-dashboard/config');
10
10
  if (res.ok) {
11
11
  const data = await res.json();
12
12
  cachedUrl = data.apiUrl || '';
@@ -47,7 +47,7 @@ const getBackendUrl = async () => {
47
47
  return cachedUrl;
48
48
  }
49
49
  try {
50
- const res = await fetch("/crm-dashboard/config");
50
+ const res = await fetch("/api/crm-dashboard/config");
51
51
  if (res.ok) {
52
52
  const data = await res.json();
53
53
  cachedUrl = data.apiUrl || "";
@@ -43,7 +43,7 @@ const getBackendUrl = async () => {
43
43
  return cachedUrl;
44
44
  }
45
45
  try {
46
- const res = await fetch("/crm-dashboard/config");
46
+ const res = await fetch("/api/crm-dashboard/config");
47
47
  if (res.ok) {
48
48
  const data = await res.json();
49
49
  cachedUrl = data.apiUrl || "";
@@ -149,7 +149,7 @@ const index = {
149
149
  Component: async () => {
150
150
  const component = await Promise.resolve().then(() => require(
151
151
  /* webpackChunkName: "crm-dashboard-page" */
152
- "../_chunks/index-BZKQTqh5.js"
152
+ "../_chunks/index-CCjUeHQa.js"
153
153
  ));
154
154
  return component;
155
155
  },
@@ -148,7 +148,7 @@ const index = {
148
148
  Component: async () => {
149
149
  const component = await import(
150
150
  /* webpackChunkName: "crm-dashboard-page" */
151
- "../_chunks/index-DPVdz0kv.mjs"
151
+ "../_chunks/index-bOPRBiEo.mjs"
152
152
  );
153
153
  return component;
154
154
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inspirer-dev/crm-dashboard",
3
- "version": "1.0.54",
3
+ "version": "1.0.55",
4
4
  "description": "CRM Dashboard and Tools",
5
5
  "strapi": {
6
6
  "name": "crm-dashboard",