Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
RedNotSus committed Sep 15, 2024
2 parents 0aaf12b + 8920a9a commit 4a449ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ app.post("/api/chat", async (req, res) => {
Authorization: `Bearer ${process.env.API_KEY}`,
"Content-Type": "application/json",
},
}
},
);

const aiResponse = response.data.choices[0].message.content;
Expand Down Expand Up @@ -99,7 +99,7 @@ async function fetchDataFromGithub(
res,
next,
baseUrl,
secondaryUrl = null
secondaryUrl = null,
) {
function isAFile(urlString) {
return urlString.trim().split("/").pop().length !== 0;
Expand Down
4 changes: 2 additions & 2 deletions static/assets/js/frame.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ window.addEventListener("DOMContentLoaded", function () {
if (searchBar) {
searchBar.setAttribute(
"value",
decodeURL(sessionStorage.getItem("encodedUrl"))
decodeURL(sessionStorage.getItem("encodedUrl")),
);
// search bar functionality
searchBar.addEventListener("keydown", function (event) {
Expand Down Expand Up @@ -76,7 +76,7 @@ function reload() {
document.onfullscreenchange = function () {
document.body.classList.toggle(
"fullscreen-active",
document.fullscreenElement
document.fullscreenElement,
);
iframe = document.getElementById("iframeid");
if (document.fullscreenElement) {
Expand Down

0 comments on commit 4a449ad

Please sign in to comment.