content
content copied to clipboard
/_content API endpoint exposed on production environment
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..