Skip to content
Snippets Groups Projects
Unverified Commit 0d28459a authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Remove tugUtils.getAPiUrl() calls

parent cdcdbe2c
No related branches found
No related tags found
No related merge requests found
Pipeline #16207 passed
......@@ -8,6 +8,6 @@
<body>
<dbp-check-in-place-select-demo lang="de"></dbp-check-in-place-select-demo>
<dbp-check-in-place-select-demo lang="de" entry-point-url="http://127.0.0.1:8000"></dbp-check-in-place-select-demo>
</body>
</html>
......@@ -5,15 +5,13 @@ import {CheckInPlaceSelect} from './check-in-place-select.js';
import {AuthKeycloak, LoginButton} from '@dbp-toolkit/auth';
import * as commonUtils from '@dbp-toolkit/common/utils';
import * as commonStyles from '@dbp-toolkit/common/styles';
import * as tugUtils from '@dbp-toolkit/common/tug-utils';
import DBPLitElement from "@dbp-toolkit/common/dbp-lit-element";
export class CheckInPlaceSelectDemo extends ScopedElementsMixin(DBPLitElement) {
constructor() {
super();
this.lang = 'de';
// TODO: for this to get out we would need the emitEJS rollup module to inject variables
this.entryPointUrl = tugUtils.getAPiUrl();
this.entryPointUrl = '';
this.noAuth = false;
}
......
......@@ -14,7 +14,7 @@
</style>
<body>
<dbp-knowledge-base-web-page-element-view-demo lang="de"></dbp-knowledge-base-web-page-element-view-demo>
<dbp-knowledge-base-web-page-element-view-demo lang="de" entry-point-url="http://127.0.0.1:8000"></dbp-knowledge-base-web-page-element-view-demo>
</body>
</html>
......@@ -5,15 +5,13 @@ import {AuthKeycloak, LoginButton} from '@dbp-toolkit/auth';
import {KnowledgeBaseWebPageElementView} from './knowledge-base-web-page-element-view.js';
import * as commonUtils from '@dbp-toolkit/common/utils';
import * as commonStyles from '@dbp-toolkit/common/styles';
import * as tugUtils from '@dbp-toolkit/common/tug-utils';
import DBPLitElement from "@dbp-toolkit/common/dbp-lit-element";
export class KnowledgeBaseWebPageElementViewDemo extends ScopedElementsMixin(DBPLitElement) {
constructor() {
super();
this.lang = 'de';
// TODO: for this to get out we would need the emitEJS rollup module to inject variables
this.entryPointUrl = tugUtils.getAPiUrl();
this.entryPointUrl = '';
this.noAuth = false;
}
......
......@@ -7,6 +7,6 @@
<body>
<dbp-person-profile-demo lang="de"></dbp-person-profile-demo>
<dbp-person-profile-demo lang="de" entry-point-url="http://127.0.0.1:8000"></dbp-person-profile-demo>
</body>
</html>
......@@ -6,7 +6,6 @@ import DBPLitElement from '@dbp-toolkit/common/dbp-lit-element';
import {PersonProfile} from './index.js';
import * as commonUtils from '@dbp-toolkit/common/utils';
import * as commonStyles from '@dbp-toolkit/common/styles';
import * as tugUtils from '@dbp-toolkit/common/tug-utils';
import $ from 'jquery';
import {PersonSelect} from '@dbp-toolkit/person-select';
......@@ -14,8 +13,7 @@ export class PersonProfileDemo extends ScopedElementsMixin(DBPLitElement) {
constructor() {
super();
this.lang = 'de';
// TODO: for this to get out we would need the emitEJS rollup module to inject variables
this.entryPointUrl = tugUtils.getAPiUrl();
this.entryPointUrl = '';
this.person = '';
this.selectedPerson = '';
this.noAuth = false;
......
......@@ -7,6 +7,6 @@
<body>
<dbp-person-select-demo lang="de"></dbp-person-select-demo>
<dbp-person-select-demo lang="de" entry-point-url="http://127.0.0.1:8000"></dbp-person-select-demo>
</body>
</html>
......@@ -5,15 +5,13 @@ import {PersonSelect} from './person-select.js';
import {AuthKeycloak, LoginButton} from '@dbp-toolkit/auth';
import * as commonUtils from '@dbp-toolkit/common/utils';
import * as commonStyles from '@dbp-toolkit/common/styles';
import * as tugUtils from '@dbp-toolkit/common/tug-utils';
import DBPLitElement from "@dbp-toolkit/common/dbp-lit-element";
export class PersonSelectDemo extends ScopedElementsMixin(DBPLitElement) {
constructor() {
super();
this.lang = 'de';
// TODO: for this to get out we would need the emitEJS rollup module to inject variables
this.entryPointUrl = tugUtils.getAPiUrl();
this.entryPointUrl = '';
this.noAuth = false;
}
......
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