Merge pull request from GHSA-4gj5-xj97-j8fp
* ci: add build check to pull requests * Build(deps-dev): Bump @types/node from 20.10.6 to 20.11.24 (#91) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.10.6 to 20.11.24. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: image compression (#101) * feat: image compression * fix: not compress svg Maybe we should add a function to disable this fix. Since I noticed that if you compress svg in webp it becomes magically smaller. * Configuration page (#104) * feat: image compression * feat: configuration page * refactor: json stringify and change engine buttons to ordered list * fix: engine distributor matching * fix: formatting * build: update txtdot version to 1.7.0 * fix: configuration page title * doc: features (#102) * fix: ssrf GHSA-4gj5-xj97-j8fp Doesn't fully correct the error! You need to configure the server to block requests. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
22
.env.example
22
.env.example
@ -1,14 +1,20 @@
|
||||
HOST=127.0.0.1 # 0.0.0.0 if txtdot is not behind reverse proxy
|
||||
# Server settings
|
||||
|
||||
HOST=0.0.0.0
|
||||
PORT=8080
|
||||
TIMEOUT=0 # 0 means no timeout
|
||||
REVERSE_PROXY=false # only with reverse proxy; see docs
|
||||
|
||||
TIMEOUT=0 # Connection timout 0 (no timout)
|
||||
|
||||
REVERSE_PROXY=true # only for reverse proxy; see docs
|
||||
# Features
|
||||
|
||||
## Proxy
|
||||
PROXY_RES=true
|
||||
SWAGGER=false # whether to add API docs route or not
|
||||
|
||||
# Search
|
||||
IMG_COMPRESS=true # enable image compressing; proxy_res is required
|
||||
|
||||
SEARCH_ENABLED=false # If enabled then you need >
|
||||
SEARX_URL="" # Base url of searxng instance without /search, etc
|
||||
## Documentation
|
||||
SWAGGER=false # whether to add API docs route
|
||||
|
||||
## Search
|
||||
SEARCH_ENABLED=false # searx_url is required when enabled
|
||||
SEARX_URL="" # SearXNG base URL, e.g. https://searx.dc09.ru
|
Reference in New Issue
Block a user