mirror of
https://github.com/seejohnrun/haste-server.git
synced 2024-10-31 19:11:21 +00:00
FIXED: Document post failing because expire parameter is string. (#366)
Specifically fixes docker example that uses memcached. Co-authored-by: Bryce Leo <bryce.leo@trainingvault.us>
This commit is contained in:
parent
7c613bc788
commit
1ea6b6e99d
1 changed files with 6 additions and 6 deletions
|
@ -33,13 +33,13 @@ const {
|
|||
|
||||
const config = {
|
||||
host: HOST,
|
||||
port: PORT,
|
||||
port: Number(PORT),
|
||||
|
||||
keyLength: KEY_LENGTH,
|
||||
keyLength: Number(KEY_LENGTH),
|
||||
|
||||
maxLength: MAX_LENGTH,
|
||||
maxLength: Number(MAX_LENGTH),
|
||||
|
||||
staticMaxAge: STATIC_MAX_AGE,
|
||||
staticMaxAge: Number(STATIC_MAX_AGE),
|
||||
|
||||
recompressStaticAssets: RECOMPRESS_STATIC_ASSETS,
|
||||
|
||||
|
@ -86,8 +86,8 @@ const config = {
|
|||
storage: {
|
||||
type: STORAGE_TYPE,
|
||||
host: STORAGE_HOST,
|
||||
port: STORAGE_PORT,
|
||||
expire: STORAGE_EXPIRE_SECONDS,
|
||||
port: Number(STORAGE_PORT),
|
||||
expire: Number(STORAGE_EXPIRE_SECONDS),
|
||||
bucket: STORAGE_AWS_BUCKET,
|
||||
region: STORAGE_AWS_REGION,
|
||||
connectionUrl: `postgres://${STORAGE_USERNAME}:${STORAGE_PASSWORD}@${STORAGE_HOST}:${STORAGE_PORT}/${STORAGE_DB}`,
|
||||
|
|
Loading…
Reference in a new issue