Closed muckelba closed 1 year ago
Okay, nevermind it's working. Forgot to exclude this file from prerendering.
I'm sorry, the issue is not fixed. I had an .env
in my project while building the app, that's why it was working. But after i renamed it, i was'nt able to build again.
I can't reproduce your issue, if you provide a minimal reproduction i'll reopen it!
Hi,
i'm trying to build my svelte app with the node adapter, but it errors, because i want to set the session secret via an environment variable when launching the server:
src/hooks.server.js
:Error when running
npm run build
:Is it possible to fix that or do i have to think about a different way where i dont have to build the app with a hardcoded sessionsecret?