Getting a 404 for API routes when deploying to Heroku with Nuxt
问题 I have no idea what is going on here. My app works just fine in development, but when I push to Heroku, it throws 404 errors whenever I try to access any routes with Postman (or with Axios). What am I doing wrong here? Here is my index.js: const express = require("express"); const consola = require("consola"); const { log } = console; const { Nuxt, Builder } = require("nuxt"); const app = express(); // Import and Set Nuxt.js options let config = require("../nuxt.config.js"); // Use routes app