When accessing a non-existent Slug (e.g., : sink.cool/notexist), the program should run the throw createError({ status: 404, statusText: 'Link not found' }) code in 1.redirect.ts, so that Nuxt will show error.vue page, but not actually see the error.vue page, just a blank page; I didn't set any NUXT_NOT_FOUND_REDIRECT variables.
When accessing a non-existent
Slug(e.g., : sink.cool/notexist), the program should run thethrow createError({ status: 404, statusText: 'Link not found' })code in1.redirect.ts, so thatNuxtwill showerror.vuepage, but not actually see theerror.vuepage, just a blank page; I didn't set anyNUXT_NOT_FOUND_REDIRECTvariables.