I am trying to get my ejs files and get it to a website using Vercel, but whenever I click the link, it just downloads the ejs file. How can I get it to open up like a regular html page?
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="login.css">
<title>Lynx | Login</title>
<link rel="stylesheet" href="style.css">
</head>
<div class="box">
<div class = "info">
<h1>Login</h1>
<form action="/login" method="POST">
<div>
<div class = "firstPlace">
<label for="email">Email</label>
<input type="email" id="email" name="email" required />
</div>
</div>
<div>
<div class = "secondPlace">
<label for="password">Password</label>
<input type="password" id="password" name="password" required />
</div>
</div>
<button type="submit">Login</button>
</form>
<p class="createAccount">Don't Have an Account?
Click <a target="_blank" rel="noopener noreferrer" href="/register" class="here">Here</a> to Register.
</p>
</div>
I tried to create a webpage on Github, but it doesn't work with EJS and im struggling to implement it on Vercel. Do I need to add another file to read the EJS or something?