mirror of
https://github.com/stonith404/pingvin-share.git
synced 2024-11-15 11:50:34 +01:00
a1ea7c0265
* fix: set link default value to random * fix: add auto EOL and add conventional-changelog package * feat: Adding reverse shares' shares a clickable link (#178) * Add clickable link to reverse share's shares * Ran format * Apply suggestions from code review * fix: set link default value to random (#181) * fix: set link default value to random * fix: add auto EOL and add conventional-changelog package * Apply suggestions from code review --------- Co-authored-by: Elias Schneider <login@eliasschneider.com> * feat: Adding reverse share ability to copy the link (#179) --------- Co-authored-by: Elias Schneider <login@eliasschneider.com>
10 lines
438 B
TypeScript
10 lines
438 B
TypeScript
export const DATA_DIRECTORY = process.env.DATA_DIRECTORY || "./data";
|
|
export const SHARE_DIRECTORY = `${DATA_DIRECTORY}/uploads/shares`;
|
|
export const DATABASE_URL =
|
|
process.env.DATABASE_URL ||
|
|
"file:../data/pingvin-share.db?connection_limit=1";
|
|
export const CLAMAV_HOST =
|
|
process.env.CLAMAV_HOST ||
|
|
(process.env.NODE_ENV == "docker" ? "clamav" : "127.0.0.1");
|
|
export const CLAMAV_PORT = parseInt(process.env.CLAMAV_PORT) || 3310;
|