File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -320,7 +320,7 @@ let default = () => {
320320 }
321321 })
322322 )}
323- editHref = {` https://github.com/rescript-lang/rescript-lang.org/blob/${Env.github_branch} ${loaderData.filePath-> Option.getOrThrow}` }
323+ editHref = {` https://github.com/rescript-lang/rescript-lang.org/blob/master ${loaderData.filePath-> Option.getOrThrow}` }
324324 >
325325 <div className = "markdown-body" > {component ()} </div >
326326 </DocsLayout >
Original file line number Diff line number Diff line change @@ -4,13 +4,6 @@ external dev: bool = "import.meta.env.DEV"
44// Cloudflare deployment URL
55external deployment_url : option <string > = "import.meta.env.DEPLOYMENT_URL"
66
7- // The current github branch being used for cloudflare pages
8- external github_branch : option <string > = "import.meta.env.CF_PAGES_BRANCH"
9- let github_branch = switch github_branch {
10- | Some (branch ) => branch
11- | None => "master"
12- }
13-
147// the root url of the site, e.g. "https://rescript-lang.org/" or "http://localhost:5173/"
158let root_url = switch deployment_url {
169| Some (url ) => url
You can’t perform that action at this time.
0 commit comments