mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-11-26 08:15:07 -05:00
Fix api images path (#1175)
This commit is contained in:
parent
3b76fb2647
commit
1f7844b8a5
@ -10,6 +10,8 @@ LIBRARY_ROOT=./video
|
|||||||
# You should set this to a path where kyoo can write large amount of data, this is used as a cache by the transcoder.
|
# You should set this to a path where kyoo can write large amount of data, this is used as a cache by the transcoder.
|
||||||
# It will automatically be cleaned up on kyoo's startup/shutdown/runtime.
|
# It will automatically be cleaned up on kyoo's startup/shutdown/runtime.
|
||||||
CACHE_ROOT=/tmp/kyoo_cache
|
CACHE_ROOT=/tmp/kyoo_cache
|
||||||
|
# Where to store downloaded images of the shows
|
||||||
|
IMAGES_PATH="./images";
|
||||||
# A pattern (regex) to ignore files.
|
# A pattern (regex) to ignore files.
|
||||||
LIBRARY_IGNORE_PATTERN=".*/[dD]ownloads?/.*"
|
LIBRARY_IGNORE_PATTERN=".*/[dD]ownloads?/.*"
|
||||||
|
|
||||||
|
|||||||
@ -10,7 +10,7 @@ import { mqueue } from "~/db/schema/mqueue";
|
|||||||
import type { Image } from "~/models/utils";
|
import type { Image } from "~/models/utils";
|
||||||
import { getFile } from "~/utils";
|
import { getFile } from "~/utils";
|
||||||
|
|
||||||
export const imageDir = process.env.IMAGES_PATH ?? "./images";
|
export const imageDir = process.env.IMAGES_PATH ?? "/images";
|
||||||
export const defaultBlurhash = "000000";
|
export const defaultBlurhash = "000000";
|
||||||
|
|
||||||
type ImageTask = {
|
type ImageTask = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user