mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
feat: Allow letters in IDs for storing files in backend (#4224)
This commit is contained in:
parent
6143d5195a
commit
39e53b4ae7
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ const initializeScene = async (opts: {
|
||||||
const searchParams = new URLSearchParams(window.location.search);
|
const searchParams = new URLSearchParams(window.location.search);
|
||||||
const id = searchParams.get("id");
|
const id = searchParams.get("id");
|
||||||
const jsonBackendMatch = window.location.hash.match(
|
const jsonBackendMatch = window.location.hash.match(
|
||||||
/^#json=([0-9]+),([a-zA-Z0-9_-]+)$/,
|
/^#json=([a-zA-Z0-9_-]+),([a-zA-Z0-9_-]+)$/,
|
||||||
);
|
);
|
||||||
const externalUrlMatch = window.location.hash.match(/^#url=(.*)$/);
|
const externalUrlMatch = window.location.hash.match(/^#url=(.*)$/);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue