1
0
Fork 0
mirror of https://github.com/alangrainger/immich-public-proxy.git synced 2024-12-29 12:21:57 +00:00

Update docs

This commit is contained in:
Alan Grainger 2024-11-01 12:41:05 +01:00
parent 9acb89258e
commit 3fd5152a2a

View file

@ -208,7 +208,9 @@ class Immich {
} }
/** /**
* Check if a provided key matches the Immich shared-link key format * Check if a provided key matches the Immich shared-link key format.
* It appears that the key is always 67 chars long, but since I don't know that this
* will always be the case, I've left it open-ended.
*/ */
isKey (key: string) { isKey (key: string) {
return !!key.match(/^[\w-]+$/) return !!key.match(/^[\w-]+$/)