Skip to content
Snippets Groups Projects
Commit 2f811873 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Fix typo

parent 72664ac2
No related branches found
No related tags found
No related merge requests found
...@@ -21,4 +21,12 @@ describe('utils', () => { ...@@ -21,4 +21,12 @@ describe('utils', () => {
var node = document.createElement('test-some-element'); var node = document.createElement('test-some-element');
expect(node.foo).to.equal(42); expect(node.foo).to.equal(42);
}); });
it('getAPiUrl', () => {
assert(utils.getAPiUrl().startsWith("http"));
});
it('setting', () => {
assert(utils.setting('apiBaseUrl').startsWith("http"));
});
}); });
...@@ -42,7 +42,7 @@ export default { ...@@ -42,7 +42,7 @@ export default {
}, },
getAPiUrl: (path = "", withPrefix = true) => { getAPiUrl: (path = "", withPrefix = true) => {
return env.apiBaseUrl + (withPrefix ? vars.apiUrlPrefix : "") + path; return env.apiBaseUrl + (withPrefix ? env.apiUrlPrefix : "") + path;
}, },
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment