mirror of
https://github.com/simon987/sist2.git
synced 2025-09-08 15:46:57 +00:00
Closes #535
This commit is contained in:
parent
509770ee24
commit
f5d070496f
@ -224,6 +224,6 @@ docker run --rm --entrypoint cat my-sist2-image /root/sist2 > sist2-x64-linux
|
|||||||
git clone --recursive https://github.com/sist2app/sist2/
|
git clone --recursive https://github.com/sist2app/sist2/
|
||||||
(cd sist2-vue; npm install; npm run build)
|
(cd sist2-vue; npm install; npm run build)
|
||||||
(cd sist2-admin/frontend; npm install; npm run build)
|
(cd sist2-admin/frontend; npm install; npm run build)
|
||||||
cmake -DSIST_DEBUG=off -DCMAKE_TOOLCHAIN_FILE=<VCPKG_ROOT>/scripts/buildsystems/vcpkg.cmake .
|
cmake -DSIST_DEBUG=off -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=<VCPKG_ROOT>/scripts/buildsystems/vcpkg.cmake .
|
||||||
make
|
make
|
||||||
```
|
```
|
||||||
|
@ -69,7 +69,8 @@ class Sist2Api {
|
|||||||
hit._props.isImage = true;
|
hit._props.isImage = true;
|
||||||
}
|
}
|
||||||
if ("width" in hit._source && !hit._props.isSubDocument && hit._source.videoc !== "tiff"
|
if ("width" in hit._source && !hit._props.isSubDocument && hit._source.videoc !== "tiff"
|
||||||
&& hit._source.videoc !== "raw" && hit._source.videoc !== "ppm") {
|
&& hit._source.videoc !== "raw" && hit._source.videoc !== "ppm"
|
||||||
|
&& hit._source.mime !== "image/jp2") {
|
||||||
hit._props.isPlayableImage = true;
|
hit._props.isPlayableImage = true;
|
||||||
}
|
}
|
||||||
if ("width" in hit._source && "height" in hit._source) {
|
if ("width" in hit._source && "height" in hit._source) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user