Skip to content

Commit

Permalink
Production deploy -- 9cdfc70
Browse files Browse the repository at this point in the history
  • Loading branch information
bherr2 committed May 11, 2023
1 parent c3a1d48 commit eccf5b4
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 12 deletions.
2 changes: 1 addition & 1 deletion body-ui/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion body-ui/wc.js

Large diffs are not rendered by default.

13 changes: 11 additions & 2 deletions docs/ccf-database/interfaces/SearchResultJson.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ <h3 id="inputs">Properties</h3>


// Reduce this value if including more data fields
const PER_API_SEARCH_REQUEST_COUNT &#x3D; 250;
const PER_API_SEARCH_REQUEST_COUNT &#x3D; 10000;

const INCLUDED_DATA_FIELDS &#x3D; [
&#x27;uuid&#x27;, &#x27;entity_type&#x27;,
Expand Down Expand Up @@ -224,7 +224,16 @@ <h3 id="inputs">Properties</h3>
): Promise&lt;SearchResultJson | undefined&gt; {
try {
const res &#x3D; await fetch(url, init);
return res.ok ? (await res.json()) : undefined;
const text &#x3D; await res.text();
const validResponse &#x3D; res.ok || text.startsWith(&#x27;https&#x27;);
if (validResponse) {
if (text.startsWith(&#x27;https&#x27;)) {
return await fetch(text).then((r) &#x3D;&gt; r.json());
} else {
return JSON.parse(text);
}
}
return undefined;
} catch (_error) {
return undefined;
}
Expand Down
4 changes: 2 additions & 2 deletions docs/ccf-database/js/search/search_index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/ccf-database/miscellaneous/variables.html
Original file line number Diff line number Diff line change
Expand Up @@ -1372,7 +1372,7 @@ <h3></h3> <table class="table table-sm table-bordered">
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>250</code>
<i>Default value : </i><code>10000</code>
</td>
</tr>

Expand Down
2 changes: 1 addition & 1 deletion main-es2015.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion main-es5.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion organ-info/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion organ-info/wc.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion wc.js

Large diffs are not rendered by default.

0 comments on commit eccf5b4

Please sign in to comment.