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

130
Views
La página de SvelteKit continúa recargando la página cada 3-4 segundos cuando sirve localhost en https

Estoy sirviendo mi aplicación sveltekit en https con proxy inverso por servidor caddy en mi máquina local. La página se está sirviendo en https pero sigue recargando cada pocos segundos.

Comando utilizado para servir SvelteKit en https:

npm run dev -- --https

Proxy inverso utilizando el servidor caddy por

caddy reverse-proxy --to http://localhost:3000

¿Cómo resolver esto?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Aquí está el problema relacionado con este https://github.com/sveltejs/kit/issues/844

Para servir localhost en https, la solución es anular el protocolo en el archivo de configuración de su kit svelte

 kit: { adapter: adapter(), vite: { server: { hmr: { protocol: 'ws', } } }, // hydrate the <div id="svelte"> element in src/app.html target: '#svelte' }
about 4 years ago · Juan Pablo Isaza Report
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!