mirror of
https://github.com/LukeHagar/unicorn-utterances.git
synced 2025-12-11 04:22:07 +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 q = iFrameUrl.search;
|
||||||
const currentBranch = branch.sync();
|
const currentBranch =
|
||||||
|
process.env.VERCEL_GIT_COMMIT_REF ?? branch.sync();
|
||||||
const repoPath = siteMetadata.repoPath;
|
const repoPath = siteMetadata.repoPath;
|
||||||
const provider = `stackblitz.com/github`;
|
const provider = `stackblitz.com/github`;
|
||||||
return `
|
return `
|
||||||
|
|||||||
Reference in New Issue
Block a user