Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F7511260
config.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
623 B
Referenced Files
None
Subscribers
None
config.ts
View Options
import
*
as
path
from
"path"
;
const
projectRoot
:
string
=
process
.
cwd
();
import
_locreq
from
"locreq"
;
const
locreq
=
_locreq
(
__dirname
);
export
const
paths
=
{
tmpImages
:
"/tmp/images"
,
storageImages
:
locreq
.
resolve
(
"image-cache"
),
smartcropCache
:
locreq
.
resolve
(
"smartcrop-cache"
),
staticImages
:
"/static/images"
,
inputDir
:
path
.
join
(
projectRoot
,
"example"
),
exampleImg
:
path
.
join
(
projectRoot
,
"example"
,
"image.png"
),
exampleSmartCropImg
:
path
.
join
(
projectRoot
,
"example"
,
"image.png"
),
};
export
const
imageRouterConfig
=
{
thumbnailsSize
:
10
,
maxCacheSize
:
10000
,
cacheManagerResolutionThreshold
:
25
,
};
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Mon, Jul 21, 00:18 (1 d, 5 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
674524
Default Alt Text
config.ts (623 B)
Attached To
Mode
rRIMAGEROUTER koa-responsive-image-router
Attached
Detach File
Event Timeline
Log In to Comment