1 | ;
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | var REGEX_API_URL = /^.*?api.availity.com(.*)$/;
|
7 |
|
8 | function getRelativeUrl(url) {
|
9 |
|
10 | var result = url.match(REGEX_API_URL);
|
11 | if (result && result[1]) {
|
12 | return "/api" + result[1];
|
13 | }
|
14 |
|
15 | return url;
|
16 | }
|
17 |
|
18 | exports.REGEX_API_URL = REGEX_API_URL;
|
19 | exports.getRelativeUrl = getRelativeUrl; |
\ | No newline at end of file |