From 234a52105846cf4710c751bbc394dd04c841bb71 Mon Sep 17 00:00:00 2001 From: Alan Grainger Date: Wed, 30 Oct 2024 12:34:04 +0100 Subject: [PATCH] Add robots.txt --- public/robots.txt | 2 ++ src/immich.ts | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 public/robots.txt diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..1f53798 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: / diff --git a/src/immich.ts b/src/immich.ts index 3e71d1e..3e3d4a2 100644 --- a/src/immich.ts +++ b/src/immich.ts @@ -25,6 +25,7 @@ class Immich { /** * Query Immich for the SharedLink metadata for a given key. * The key is what is returned in the URL when you create a share in Immich. + * * Immich doesn't have a method to query by key, so this method gets all * known shared links, and returns the link which matches the provided key. */ @@ -44,6 +45,7 @@ class Immich { /** * Stream asset buffer data from Immich. + * * For photos, you can request 'thumbnail' or 'original' size. * For videos, it is Immich's streaming quality, not the original quality. */