Fix SVG font loading from unpkg.com due to undefined version
This commit is contained in:
parent
1bd2b1fe55
commit
7dbe398671
|
@ -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("/")) {
|
||||
|
|
Loading…
Reference in New Issue