Moving from Adaptable to Vercel but I am having trouble deploying my simple node app. After jumping through a few hoops I have it recognising the ejs view engine but it can not find my index.js that is located in the public folder.
In my index.ejs file I have tried different variations of the script source link:
<script src="/public/index.js" type="module" defer></script><script src="index.js" type="module" defer></script><script src="../public/index.js" type="module" defer></script>None work, I keep getting a 404 error. Any advice would be greatly appreciated.