Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

126
Views
EJS to Webpage Just Downloads File

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?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!