Skip to content
#

headless

Here are 19,404 public repositories matching this topic...

nielswart
nielswart commented Feb 11, 2022

Issue

GET requests includes a body, which is not allowed when putting the API behind a CDN such as AWS Cloudfront. This results in a 403 error.

Looking at the request in the Medusa Client class, I see that the default payload is {}

Possible Solution

make the default payload null or undefined

async request(
    method: RequestMethod,
    path: string,
    payload: obje
sanity
alevroub
alevroub commented Jun 26, 2018

The default google-maps-input.json could maybe include more displaying options, such as themes and zoom level for the static map. Though hacky, these few changes do the job for me:

GeopointSelect.js

var _googleMapsInput = require('config:@sanity/google-maps-input');
var _googleMapsInput2 = _interopRequireDefault(_googleMapsInput);

class GeopointSelect extends _react2.default.Compone

Improve this page

Add a description, image, and links to the headless topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the headless topic, visit your repo's landing page and select "manage topics."

Learn more