Fix SVG font loading from unpkg.com due to undefined version

This commit is contained in:
Valentin Delaye 2024-04-22 19:57:09 +02:00
parent 1bd2b1fe55
commit 7dbe398671
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@ export const exportToSvg = async (
assetPath =
window.EXCALIDRAW_ASSET_PATH ||
`https://unpkg.com/${import.meta.env.VITE_PKG_NAME}@${
import.meta.env.PKG_VERSION
import.meta.env.VITE_PKG_VERSION
}`;
if (assetPath?.startsWith("/")) {