content icon indicating copy to clipboard operation
content copied to clipboard

/_content API endpoint exposed on production environment

Open fogine opened this issue 4 years ago • 0 comments

Version

@nuxt/content: 1.15.1 nuxt:

What is Expected?

This module should not expose json API on production or it should be configurable.

What is actually happening?

when nuxtjs project is build and started

export NODE_ENV=production
yarn build
yarn start

all content of content folder is exposed through <base-url>/_content we are running nuxt in SSR mode..

fogine avatar Dec 14 '21 14:12 fogine