Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F996414
config.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
config.ts
View Options
import
_locreq
from
"locreq"
;
import
{
module_dirname
}
from
"./utils/module_dirname.js"
;
const
locreq
=
_locreq
(
module_dirname
(
import
.
meta
.
url
));
export
const
SEALIOUS_SANITY
=
Boolean
(
process
.
env
.
SEALIOUS_SANITY
);
export
const
PORT
=
process
.
env
.
SEALIOUS_PORT
?
parseInt
(
process
.
env
.
SEALIOUS_PORT
)
:
8080
;
export
const
BASE_URL
=
process
.
env
.
SEALIOUS_BASE_URL
||
`http://localhost:
${
PORT
}
`
;
export
const
MONGO_PORT
=
process
.
env
.
SEALIOUS_MONGO_PORT
?
parseInt
(
process
.
env
.
SEALIOUS_MONGO_PORT
)
:
20747
;
export
const
MONGO_HOST
=
process
.
env
.
SEALIOUS_MONGO_HOST
||
"127.0.0.1"
;
export
const
MAILCATCHER_HOST
=
process
.
env
.
SEALIOUS_MAILCATCHER_HOST
||
"127.0.0.1"
;
export
const
MAILCATCHER_SMTP_PORT
=
parseInt
(
process
.
env
.
SEALIOUS_MAILCATCHER_SMTP_PORT
||
"1026"
);
export
const
MAILCATCHER_API_PORT
=
parseInt
(
process
.
env
.
SEALIOUS_MAILCATCHER_API_PORT
||
"1082"
);
export
const
MAILER
=
process
.
env
.
SEALIOUS_MAILER
;
export
const
DEFAULT_HTML_LANG
=
"pl"
;
export
const
IMAGE_CACHE_FS_DIR
=
process
.
env
.
IMAGE_CACHE_FS_DIR
||
locreq
.
resolve
(
"cache/images"
);
export
const
SMARTCROP_CACHE_FS_DIR
=
process
.
env
.
IMAGE_CACHE_FS_DIR
||
locreq
.
resolve
(
"cache/smartcrop"
);
export
const
UPLOADS_FS_DIR
=
process
.
env
.
UPLOADS_FS_DIR
||
locreq
.
resolve
(
"uploaded_files"
);
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Tue, Dec 24, 14:02 (17 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
556707
Default Alt Text
config.ts (1 KB)
Attached To
Mode
rREWRITE Configurable rewriter
Attached
Detach File
Event Timeline
Log In to Comment