Skip to content

Commit

Permalink
chore(odin): fix odin urls (#715)
Browse files Browse the repository at this point in the history
Co-authored-by: Can Sirin <8138047+cansirin@users.noreply.github.com>
  • Loading branch information
cansirin and cansirin authored Dec 27, 2023
1 parent 5d1a0ed commit 472a207
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/kampus/features/kampus-url/kampus-github.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
const branchName = "dev";
const baseUrl = "https://github.com/kamp-us/monorepo/";
const baseUrl = "https://github.com/kamp-us/monorepo";

export const getOdinGithubUrl = ({ edit }: { edit: boolean }) => {
let url = baseUrl;
if (edit) {
url = url + "edit";
url = url + "/edit";
} else {
url = url + "blob";
url = url + "/blob";
}

return `${url}/${branchName}/contents/odin`;
Expand Down

0 comments on commit 472a207

Please sign in to comment.