From dce0b4c6a41a3cdce931e354e19665ddd4ee358b Mon Sep 17 00:00:00 2001 From: nowwater <6360879@naver.com> Date: Tue, 22 Jun 2021 16:06:16 +0900 Subject: [PATCH] fix path error --- src/components/EditOnRepo/EditOnRepo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/EditOnRepo/EditOnRepo.js b/src/components/EditOnRepo/EditOnRepo.js index 23679e9..6ee71e0 100644 --- a/src/components/EditOnRepo/EditOnRepo.js +++ b/src/components/EditOnRepo/EditOnRepo.js @@ -90,7 +90,7 @@ const EditOnRepo = ({ repoType, branch, location, path }) => { break; case 'github': icon = require('images/github.svg'); - link = `${location}/tree/${branch}/${rootDir}/${path}`; + link = `${location}/tree/master/${rootDir}/${path}`; text += 'Github'; break; case 'bitbucket':