osl-base-extended 1.0.32 → 1.0.33

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.
@@ -176,9 +176,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
176
176
 
177
177
  class Httpbase {
178
178
  controller;
179
+ baseUrl;
179
180
  controllerName = '';
180
- constructor(controller) {
181
+ constructor(controller, baseUrl = '/api/') {
181
182
  this.controller = controller;
183
+ this.baseUrl = baseUrl;
182
184
  this.controllerName = controller;
183
185
  }
184
186
  getEndPoint(methodName) {
@@ -276,7 +278,7 @@ class Httpbase {
276
278
  }, new HttpParams());
277
279
  }
278
280
  http = inject(HttpClient);
279
- baseUrl = '/api/';
281
+ // private baseUrl = '/api/';
280
282
  // ─── HTTP verb wrappers ───────────────────────────────────────────────────────
281
283
  async post(methodName, body, params) {
282
284
  try {