mirror of
https://github.com/LukeHagar/unicorn-utterances.git
synced 2025-12-09 12:57:45 +00:00
fix: vercel deployments should now work
This commit is contained in:
@@ -92,7 +92,8 @@ export function createRehypePlugins(config: MarkdownConfig): RehypePlugin[] {
|
||||
}
|
||||
|
||||
const q = iFrameUrl.search;
|
||||
const currentBranch = branch.sync();
|
||||
const currentBranch =
|
||||
process.env.VERCEL_GIT_COMMIT_REF ?? branch.sync();
|
||||
const repoPath = siteMetadata.repoPath;
|
||||
const provider = `stackblitz.com/github`;
|
||||
return `
|
||||
|
||||
Reference in New Issue
Block a user