emilpriver / jamstack-preview-and-deployments

Preview and deploy NextJS applications from the wordpress admin.
17 stars 1 forks source link

Remove postType from url and add "type" and "typevalue" to url #14

Closed emilpriver closed 4 years ago

emilpriver commented 4 years ago

In order to create high flexability should the plugin add "type" and "typevalue" to the url which is sent to the application that handels the preview.

So instead of /api/preview?id=&secret=&postType= Should the plugin generate: /api/preview?id=&secret=&type=post&typeValue=page

emilpriver commented 4 years ago

Maybe add an option to preview a taxonomy as this is what I see atm not supported?