1
0
Fork 0
mirror of https://github.com/SinTan1729/chhoto-url synced 2024-12-25 23:28:37 -06:00

new: Ability to disable Cache-Control headers in testing recipe

This commit is contained in:
Sayantan Santra 2024-05-31 01:45:19 -05:00
parent de9bc130d5
commit 2cf0e5d2de
Signed by: SinTan1729
GPG key ID: EB3E68BFBA25C85F

View file

@ -23,7 +23,8 @@ docker-stop:
docker-test: docker-local docker-stop docker-test: docker-local docker-stop
docker run -p 4567:4567 --name chhoto-url -e password="${PASSWORD}" -e public_mode="${PUBLIC_MODE}" \ docker run -p 4567:4567 --name chhoto-url -e password="${PASSWORD}" -e public_mode="${PUBLIC_MODE}" \
-e site_url="${SITE_URL}" -e db_url="${DB_URL}" -e redirect_method="${REDIRECT_METHOD}" \ -e site_url="${SITE_URL}" -e db_url="${DB_URL}" -e redirect_method="${REDIRECT_METHOD}" \
-e slug_style="${SLUG_STYLE}" -e slug_length="${SLUG_LENGTH}" -d chhoto-url -e slug_style="${SLUG_STYLE}" -e slug_length="${SLUG_LENGTH}" -e cache_control_header="${CACHE_CONTROL_HEADER}"\
-d chhoto-url
docker logs chhoto-url -f docker logs chhoto-url -f
docker-dev: build-dev docker-dev: build-dev