/p2-1170

Primary LanguageJavaScript

Minimal reproduction of incorrect access permissions of assets with Next.js and Now

As reported in prisma/prisma#1170

In date.js we have a minimal api defined like so:

import getMessage from 'dummy-executable-package'

export default async (req, res) => {
  const date = await getMessage()

  res.json({ date })
}

dummy-executable-package has just been created for this reproduction. You can find its code here.