export default class UserService {
static notLoggedUserName='Anonymous';
static login() {
- return fetch('/restservices/clds/v1/user/getUser', {
+ return fetch(window.location.pathname + 'restservices/clds/v1/user/getUser', {
method: 'GET',
credentials: 'same-origin'
})
}
static getUserInfo() {
- return fetch('/restservices/clds/v2/clampInformation', {
+ return fetch(window.location.pathname + 'restservices/clds/v2/clampInformation', {
method: 'GET',
credentials: 'same-origin'
})