netglue / Expressive-Prismic

Zend Expressive library for working with prismic.io's content management api
MIT License
1 stars 0 forks source link

Nullable Web Hook secret & Configurable URLs #15

Closed gsteel closed 5 years ago

gsteel commented 5 years ago

You can no longer set a secret in Prismic.io when configuring a webhook, so this pull allows a nullable secret. Having no shared secret makes it important to be able to configure a random url for busting the cache, and it makes sense to make the preview url configurable too whilst we're at it.