diff --git a/application/static/favicon/android-chrome-192x192.png b/application/static/favicon/android-chrome-192x192.png new file mode 100644 index 00000000..117c9009 Binary files /dev/null and b/application/static/favicon/android-chrome-192x192.png differ diff --git a/application/static/favicon/android-chrome-512x512.png b/application/static/favicon/android-chrome-512x512.png new file mode 100644 index 00000000..05b03a90 Binary files /dev/null and b/application/static/favicon/android-chrome-512x512.png differ diff --git a/application/static/favicon/apple-touch-icon.png b/application/static/favicon/apple-touch-icon.png new file mode 100644 index 00000000..0179ed0a Binary files /dev/null and b/application/static/favicon/apple-touch-icon.png differ diff --git a/application/static/favicon/favicon-16x16.png b/application/static/favicon/favicon-16x16.png new file mode 100644 index 00000000..0042d819 Binary files /dev/null and b/application/static/favicon/favicon-16x16.png differ diff --git a/application/static/favicon/favicon-32x32.png b/application/static/favicon/favicon-32x32.png new file mode 100644 index 00000000..3818e500 Binary files /dev/null and b/application/static/favicon/favicon-32x32.png differ diff --git a/application/static/favicon/favicon.ico b/application/static/favicon/favicon.ico new file mode 100644 index 00000000..1c5014d2 Binary files /dev/null and b/application/static/favicon/favicon.ico differ diff --git a/application/static/favicon/site.webmanifest b/application/static/favicon/site.webmanifest new file mode 100644 index 00000000..45dc8a20 --- /dev/null +++ b/application/static/favicon/site.webmanifest @@ -0,0 +1 @@ +{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} \ No newline at end of file diff --git a/application/templates/index.html b/application/templates/index.html index 39a0688d..f916f148 100644 --- a/application/templates/index.html +++ b/application/templates/index.html @@ -3,6 +3,11 @@ DocsGPT 🦖 Preview + + + + + @@ -107,7 +112,6 @@ This will return a new DataFrame with all the columns from both tables, and only fetch('https://d3dg1063dc54p9.cloudfront.net/combined.json') .then(response => response.json()) .then(data => { - console.log('Success:', data); localStorage.setItem("docsIndex", JSON.stringify(data)); localStorage.setItem("docsIndexDate", Date.now()); generateOptions() @@ -125,8 +129,6 @@ This will return a new DataFrame with all the columns from both tables, and only // create option for each key in docsIndex for (var key in docsIndex) { var option = document.createElement("option"); - console.log(key) - console.log(docsIndex[key]) if (docsIndex[key].name == docsIndex[key].language) { option.text = docsIndex[key].name + " " + docsIndex[key].version; option.value = docsIndex[key].name + "/" + ".project" + "/" + docsIndex[key].version + "/"; @@ -151,7 +153,7 @@ This will return a new DataFrame with all the columns from both tables, and only docsIndex() } else if (localStorage.getItem("docsIndexDate") < Date.now() - 900000) { - console.log("docsIndex is older than 24 hours") + console.log("docsIndex is older than 15 minutes") docsIndex() }