Ignore:
Timestamp:
12/12/24 17:06:06 (5 weeks ago)
Author:
stefan toskovski <stefantoska84@…>
Branches:
main
Parents:
d565449
Message:

Pred finalna verzija

File:
1 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/src/scripts/net/HttpService.js

    rd565449 r0c6b92a  
    33
    44class HttpService {
    5     constructor(URL = config.apiBaseUrl, auth = false) {
    6       this.baseURL = URL;
     5    constructor(auth = false) {
    76      this.auth = auth;
    87    }
     
    3332      }
    3433 
    35       const response = await fetch(`${this.baseURL}${endpoint}`, options);
     34      const response = await fetch(`${endpoint}`, options);
    3635     
    3736      if (!response.ok) {
Note: See TracChangeset for help on using the changeset viewer.