Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

129
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda