mirror of
https://github.com/cupcakearmy/morphus.git
synced 2024-12-21 15:46:31 +00:00
stuff
This commit is contained in:
parent
0fc63ed17d
commit
008d1c949d
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,6 +3,7 @@ dist
|
||||
assets
|
||||
*.tsbuildinfo
|
||||
data
|
||||
demo
|
||||
.vscode
|
||||
|
||||
# Configs
|
||||
|
@ -26,7 +26,7 @@ The heavy lifting is done by [`libvips`](https://github.com/libvips/libvips) and
|
||||
- Multiple storage adapters (Local, Minio, S3, GCP)
|
||||
- Auto format based on `Accept` header
|
||||
- ETag caching
|
||||
- Presets and optinal forcing of presets
|
||||
- Presets and optional forcing of presets
|
||||
|
||||
## 🏗 Installation
|
||||
|
||||
|
12
package.json
12
package.json
@ -20,12 +20,12 @@
|
||||
"@types/convict": "^6.1.1",
|
||||
"@types/flat": "^5.0.2",
|
||||
"@types/js-yaml": "^4.0.5",
|
||||
"@types/minio": "^7.0.13",
|
||||
"@types/minio": "^7.0.14",
|
||||
"@types/ms": "^0.7.31",
|
||||
"@types/node": "^16.11.36",
|
||||
"@types/node": "^16.11.66",
|
||||
"@types/sharp": "^0.29.5",
|
||||
"ts-node-dev": "^2.0.0",
|
||||
"typescript": "^4.7.2"
|
||||
"typescript": "^4.8.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fastify/caching": "^7.0.0",
|
||||
@ -36,13 +36,13 @@
|
||||
"convict": "^6.2.3",
|
||||
"convict-format-with-validator": "^6.2.0",
|
||||
"fast-crc32c": "^2.0.0",
|
||||
"fastify": "^3.29.0",
|
||||
"fastify": "^3.29.3",
|
||||
"flat": "^5.0.2",
|
||||
"js-yaml": "^4.1.0",
|
||||
"minio": "^7.0.28",
|
||||
"minio": "^7.0.32",
|
||||
"ms": "^2.1.3",
|
||||
"pino-pretty": "^7.6.1",
|
||||
"sharp": "^0.29.3",
|
||||
"sharp": "^0.31.1",
|
||||
"under-pressure": "^5.8.1"
|
||||
}
|
||||
}
|
||||
|
491
pnpm-lock.yaml
generated
491
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -103,7 +103,7 @@ export const config = convict({
|
||||
maxAge: {
|
||||
doc: 'The maximum age of a cached image',
|
||||
format: String,
|
||||
default: '1d',
|
||||
default: '90d',
|
||||
env: 'MAX_AGE',
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user