Revert "Make open graph metadata generation configurable"

This reverts commit 7022ff032a.
This commit is contained in:
Adrian Nöthlich 2022-11-20 17:07:46 +01:00
parent 84317bcf5c
commit 7982cf93b3
No known key found for this signature in database
GPG key ID: 01348F55AA57C1E7
2 changed files with 0 additions and 6 deletions

View file

@ -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_DHPARAM` | Path to Diffie-Hellman parameters file | No | `/etc/nginx/dhparam.pem` |
| `CPAD_HTTP2_DISABLE` | Disable HTTP2 | No | `false` |
| CPAD_OPENGRAPH | Enable generation of Open Graph metadata | No | true |
#### Usage

View file

@ -163,9 +163,4 @@ fi
cd $CPAD_HOME
npm run build
# Should Open Graph files be generated
if [ "${CPAD_OPENGRAPH:-true}" != "false" ]; then
npm run make-opengraph
fi
exec "$@"