microsoft / onnxruntime-nextjs-template

MIT License
96 stars 22 forks source link

/api routes not callable on deployment #6

Open cantoramann opened 1 year ago

cantoramann commented 1 year ago

When I deploy this template to Vercel, only with the following changes to handle the digital envelope error,

    "build": "NODE_OPTIONS=--openssl-legacy-provider next build && next export",
    "start": "NODE_OPTIONS=--openssl-legacy-provider next start",

My /api routes are not callable anymore. Does anyone know why this may be the case?