episerver / content-delivery-js-sdk

Apache License 2.0
22 stars 14 forks source link

ContentResolver doesn't work if updating nuxt to v3.0.0-rc.12 or newer #34

Open samtruedig opened 1 year ago

samtruedig commented 1 year ago

In the coupled sample if updating nuxt to 3.0.0-rc.12 or newer the ContentResolver throws an undefined exception, and no content loads

samtruedig commented 1 year ago

resolved this by setting the Accept-Language header eg.

defaultConfig.getHeaders = () => {
    return { "Accept-Language": "en" };
};