Skip to content

Commit

Permalink
Merge pull request #457 from bounswe/feature/frontend_migrate-https
Browse files Browse the repository at this point in the history
migrated to https
  • Loading branch information
kubraaksux authored Nov 26, 2023
2 parents 240e19b + 18fd6db commit a3163ae
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions resq/frontend/src/AppService.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import axios from 'axios';

const USER_API_BASE_URL = "http://api.resq.org.tr/resq/api/v1/user";
const AUTH_API_BASE_URL = "http://api.resq.org.tr/resq/api/v1/auth";
const ACTION_API_BASE_URL = 'http://api.resq.org.tr/resq/api/v1/action';
const CATEGORY_API_BASE_URL = 'http://api.resq.org.tr/resq/api/v1/categorytreenode';
const NEED_API_BASE_URL = 'http://api.resq.org.tr/resq/api/v1/need';
const REQUEST_API_BASE_URL = 'http://api.resq.org.tr/resq/api/v1/request';
const RESOURCE_API_BASE_URL = 'http://api.resq.org.tr/resq/api/v1/resource';
const TASK_API_BASE_URL = 'http://api.resq.org.tr/resq/api/v1/task';
const API_BASE_URL = 'https://api.resq.org.tr'
const USER_API_BASE_URL = API_BASE_URL + '/resq/api/v1/user';
const AUTH_API_BASE_URL = API_BASE_URL + '/resq/api/v1/auth';
const ACTION_API_BASE_URL = API_BASE_URL + '/resq/api/v1/action';
const CATEGORY_API_BASE_URL = API_BASE_URL + '/resq/api/v1/categorytreenode';
const NEED_API_BASE_URL = API_BASE_URL + '/resq/api/v1/need';
const REQUEST_API_BASE_URL = API_BASE_URL + '/resq/api/v1/request';
const RESOURCE_API_BASE_URL = API_BASE_URL + '/resq/api/v1/resource';
const TASK_API_BASE_URL = API_BASE_URL + '/resq/api/v1/task';


export function postRequestRole(userId, role) {
Expand Down

0 comments on commit a3163ae

Please sign in to comment.