I'm trying to deploy my Rails application on Vercel directly from the respective GitHub repository but, as you can see from the picture, it throws a 404 error. Vercel screenshot
This is my first time using Vercel, so please feel free to point out any mistakes/inaccuracies in my question or methodology.
EDIT To answer @spikerman, this is my config/routes.rb
Rails.application.routes.draw do
root to: 'items#index'
get "pages", to: "pages#home"
get "trigger_service", to: "pages#trigger_service"
resources :items, only: [:update]
post "/items/update-all", to: "items#update_all"
end
@Greg, oh TwT this website was previously deployed on the free version of Heroku, so I just want to find another easy way to redeploy it. Do you know any other alternatives?