mirror of
https://github.com/xwiki-labs/cryptpad-docker.git
synced 2024-11-23 12:15:04 +00:00
Revert "Make open graph metadata generation configurable"
This reverts commit 7022ff032a
.
This commit is contained in:
parent
84317bcf5c
commit
7982cf93b3
2 changed files with 0 additions and 6 deletions
|
@ -77,7 +77,6 @@ To disable HTTP2 set the environment variable `CPAD_HTTP2_DISABLE` to `true`.
|
||||||
| `CPAD_TLS_KEY` | Path to TLS private key file | No | None |
|
| `CPAD_TLS_KEY` | Path to TLS private key file | No | None |
|
||||||
| `CPAD_TLS_DHPARAM` | Path to Diffie-Hellman parameters file | No | `/etc/nginx/dhparam.pem` |
|
| `CPAD_TLS_DHPARAM` | Path to Diffie-Hellman parameters file | No | `/etc/nginx/dhparam.pem` |
|
||||||
| `CPAD_HTTP2_DISABLE` | Disable HTTP2 | No | `false` |
|
| `CPAD_HTTP2_DISABLE` | Disable HTTP2 | No | `false` |
|
||||||
| CPAD_OPENGRAPH | Enable generation of Open Graph metadata | No | true |
|
|
||||||
|
|
||||||
#### Usage
|
#### Usage
|
||||||
|
|
||||||
|
|
|
@ -163,9 +163,4 @@ fi
|
||||||
cd $CPAD_HOME
|
cd $CPAD_HOME
|
||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
# Should Open Graph files be generated
|
|
||||||
if [ "${CPAD_OPENGRAPH:-true}" != "false" ]; then
|
|
||||||
npm run make-opengraph
|
|
||||||
fi
|
|
||||||
|
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
|
Loading…
Reference in a new issue