Skip to content

Commit 7d43125

Browse files
committed
Use a cache bust for the OpenAPI spec
1 parent c82f3d1 commit 7d43125

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/api/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ mkdir ./spec
77
LOCAL_OPENAPI_FILE=../../../gitbook-x/packages/api-client/static/openapi.yaml
88

99
if [[ -z "${GITBOOK_OPENAPI_URL}" ]]; then
10-
OPENAPI_URL="https://api.gitbook.com/openapi.yaml"
10+
OPENAPI_URL="https://api.gitbook.com/openapi.yaml?cacheBust=$(date +%s)"
1111
else
1212
OPENAPI_URL="${GITBOOK_OPENAPI_URL}"
1313
fi

0 commit comments

Comments
 (0)