handler: Handle any checkpoint resource, determine Content-Type with libmagic (#22)

* Handle any resource

* Determine Content-Type for static files with libmagic

---------

Co-authored-by: Vaxry <vaxry@vaxry.net>
This commit is contained in:
catfromplan9andVaxry authored and GitHub committed 2025-04-21 21:28:31 +02:00
1 parent f199569ff8
commit 5b2744584a
3 files changed
+40 -9

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ add_compile_definitions(CHECKPOINT_VERSION="${CHECKPOINT_VERSION}")
find_package(PkgConfig REQUIRED)
pkg_check_modules(deps IMPORTED_TARGET openssl re2)
pkg_check_modules(deps IMPORTED_TARGET openssl re2 libmagic)
target_include_directories(checkpoint
PRIVATE