Skip to content

Commit 7562b29

Browse files
API pre-defined route fix
1 parent e100218 commit 7562b29

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "iknow-entity-browser",
3-
"version": "0.9.2",
3+
"version": "0.9.3",
44
"description": "Visualizer for iKnow entities",
55
"main": "gulpfile.babel.js",
66
"scripts": {

src/static/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,9 @@ <h1>General Settings</h1>
140140
<input type="text" value="http://localhost" id="settings.host" autosize
141141
placeholder="http://host.name"/>:<input id="settings.port" autosize
142142
type="number" placeholder="port" value="57772"/>/<input id="settings.webAppName"
143-
autosize type="text" placeholder="app name" value="EntityBrowser"/>/domain/<input
144-
id="settings.domain" autosize type="text" placeholder="domain" value="1"/>/<span
145-
id="querySetting"><select id="settings.queryType" title="Query Type">
143+
autosize type="text" placeholder="app name" value="EntityBrowser"/>/api/domain/
144+
<input id="settings.domain" autosize type="text" placeholder="domain" value="1"
145+
/>/<span id="querySetting"><select id="settings.queryType" title="Query Type">
146146
<option value="related">related</option>
147147
<option value="similar">similar</option>
148148
</select>/ <input autosize placeholder="seed string" id="settings.seed"

src/static/js/source/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export function getData (callback) {
55
let https = (getOption("host") || "").indexOf("https://") === 0;
66
httpGet(`${ getOption("host") || `http://${ location.hostname }` }${
77
getOption("port") === (https ? 443 : 80) ? "" : ":" + getOption("port")
8-
}/${ getOption("webAppName") }/domain/${ encodeURIComponent(getOption("domain")) }/${
8+
}/${ getOption("webAppName") }/api/domain/${ encodeURIComponent(getOption("domain")) }/${
99
encodeURIComponent(getOption("queryType"))
1010
}/${
1111
encodeURIComponent(getOption("seed"))

0 commit comments

Comments
 (0)