mirror of
https://github.com/arc53/DocsGPT
synced 2024-11-17 21:26:26 +00:00
Inputs folder change
This commit is contained in:
parent
38514179ff
commit
ee3c19c976
@ -104,12 +104,12 @@ This will return a new DataFrame with all the columns from both tables, and only
|
|||||||
function docsIndex() {
|
function docsIndex() {
|
||||||
// loads latest index from https://raw.githubusercontent.com/arc53/DocsHUB/main/combined.json
|
// loads latest index from https://raw.githubusercontent.com/arc53/DocsHUB/main/combined.json
|
||||||
// and stores it in localStorage
|
// and stores it in localStorage
|
||||||
fetch('https://raw.githubusercontent.com/arc53/DocsHUB/main/combined.json')
|
fetch('https://d3dg1063dc54p9.cloudfront.net/combined.json')
|
||||||
.then(response => response.json())
|
.then(response => response.json())
|
||||||
.then(data => {
|
.then(data => {
|
||||||
console.log('Success:', data);
|
console.log('Success:', data);
|
||||||
localStorage.setItem("docsIndex", JSON.stringify(data));
|
localStorage.setItem("docsIndex", JSON.stringify(data));
|
||||||
loacalStorage.setItem("docsIndexDate", Date.now());
|
localStorage.setItem("docsIndexDate", Date.now());
|
||||||
generateOptions()
|
generateOptions()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user