fix(server): asset count on meta tag of shared links (#9107)

* fix asset count on meta tag of shared links

* fix lint

* fix style

* add e2e tests
This commit is contained in:
Nguyễn Hoàng Đức
2024-04-28 01:56:13 +07:00
committed by GitHub
parent cf01ec1eb0
commit 833a78181b
3 changed files with 28 additions and 2 deletions

View File

@@ -53,6 +53,7 @@ type AssetData = { bytes?: Buffer; filename: string };
const dbUrl = 'postgres://postgres:postgres@127.0.0.1:5433/immich';
const baseUrl = 'http://127.0.0.1:2283';
export const shareUrl = `${baseUrl}/share`;
export const app = `${baseUrl}/api`;
// TODO move test assets into e2e/assets
export const testAssetDir = path.resolve(`./../server/test/assets/`);