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:
parent
9acb89258e
commit
3fd5152a2a
1 changed files with 3 additions and 1 deletions
|
@ -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-]+$/)
|
||||||
|
|
Loading…
Reference in a new issue