From bf25d3cc60f162fb0b035a6fa6a16b5640729fe7 Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Wed, 16 Apr 2025 15:39:57 +0530 Subject: [PATCH] fix: New diagram link --- src/lib/util/state.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/util/state.ts b/src/lib/util/state.ts index bc8fda29..0e0742a0 100644 --- a/src/lib/util/state.ts +++ b/src/lib/util/state.ts @@ -152,7 +152,7 @@ export const urlsStore = derived([stateStore], ([{ code, serialized }]) => { home: `${MCBaseURL}/?${params}` }; }, - new: `${window.location.protocol}//${window.location.host}${window.location.pathname}/#${serializeState(defaultState)}`, + new: `${window.location.protocol}//${window.location.host}${window.location.pathname}#${serializeState(defaultState)}`, png, svg: `${rendererUrl}/svg/${serialized}`, view: `/view#${serialized}`