1 | export var selectURI = function (operation, fallbackURI) {
|
2 | var context = operation.getContext();
|
3 | var contextURI = context.uri;
|
4 | if (contextURI) {
|
5 | return contextURI;
|
6 | }
|
7 | else if (typeof fallbackURI === "function") {
|
8 | return fallbackURI(operation);
|
9 | }
|
10 | else {
|
11 | return fallbackURI || "/graphql";
|
12 | }
|
13 | };
|
14 | //# sourceMappingURL=selectURI.js.map |
\ | No newline at end of file |