0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-04-15 03:11:28 -05:00
immich/server
rrrockey d84009648e
refactor(server): replace switch statement in sendFile with Record lookup (#16630)
* refactor cache control handling in server/utils/file.ts

* add ability to null CacheControl.NONE

* Cache control handling comment

* Added comment to file.ts

This comment provides a better understanding of what the cacheControlHeader is doing.

* Update file.ts

Added comments

* Update server/src/utils/file.ts

* fix comments in file.ts

* run prettier with --write to fix formatting

---------

Co-authored-by: pnleguizamo <pnleguizamo@gmail.com>
Co-authored-by: drew-kearns <dkearns@iastate.edu>
Co-authored-by: Sierra (Izumi) Brown <119357873+SierraIBrown@users.noreply.github.com>
Co-authored-by: Alex <alex.tran1502@gmail.com>
2025-03-06 12:46:37 +01:00
..
bin feat(server): add Bash healthcheck script (#14704) 2024-12-16 15:19:18 +00:00
resources
src refactor(server): replace switch statement in sendFile with Record lookup (#16630) 2025-03-06 12:46:37 +01:00
test fix: storage template failure after re-upload and previous fail (#16611) 2025-03-05 15:00:37 +00:00
.gitignore
.nvmrc chore(deps): update node.js to v22.14.0 (#16132) 2025-02-15 21:29:33 -06:00
.prettierignore refactor: migrate map repository to kysely (#15348) 2025-01-17 09:14:42 -06:00
.prettierrc
Dockerfile chore(deps): update ghcr.io/immich-app/base-server-dev docker tag to v20250304 (#16580) 2025-03-04 15:39:34 +00:00
eslint.config.mjs
nest-cli.json
package-lock.json chore: version v1.129.0 2025-03-05 19:47:50 +00:00
package.json chore: version v1.129.0 2025-03-05 19:47:50 +00:00
start.sh fix(server): add ld_library_path in start.sh (#13686) 2024-10-22 18:41:59 -04:00
tsconfig.build.json
tsconfig.json refactor(server): use kysely (#12857) 2025-01-09 11:15:41 -05:00