Skip to content

Commit

Permalink
chore: remove some log statements and update favicon
Browse files Browse the repository at this point in the history
Signed-off-by: tylerslaton <[email protected]>
  • Loading branch information
tylerslaton committed Mar 15, 2024
1 parent 7a5cae5 commit 1dfe541
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/pages/[...slug].vue
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ onMounted(async () => {
// only split the first 3 slashes
[owner, repo] = reference.value.split("/").slice(1, 3);
const subpath = reference.value.split("/").slice(3).join("/");
console.log(subpath)
// owner is before the first slash, repo is before the second slash and anything after that is the subpath
reference.value = subpath ? `github.com/${owner}/${repo}/blob/main/${subpath}` : `${reference.value}`;
Expand Down
Binary file modified src/public/favicon.ico
Binary file not shown.
1 change: 0 additions & 1 deletion src/server/api/[...slug].post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ export default defineEventHandler(async (event) => {

// construct the path to the tool.gpt file
const toolPath = subdirs.length > 0 ? `${subdirs.join("/")}/tool.gpt` : "tool.gpt";
console.log(`https://raw.githubusercontent.com/${owner}/${repo}/main/${toolPath}`)

// fetch the tool.gpt file from github
const toolResponse = await fetch(`https://raw.githubusercontent.com/${owner}/${repo}/main/${toolPath}`);
Expand Down

0 comments on commit 1dfe541

Please sign in to comment.