My backslash from env disapear
Hello!
Thank you for your work.
I’m using Kamal to deploy a Next.js application on Hetzner. One of my environment variables (in .env file) contains a backslash, for example:
MYVAR="foo\bar"
I’ve tried multiple ways to write it:
MYVAR="foo\\bar"
MYVAR=foo\bar
MYVAR='foo\bar'
MYVAR='foo\\bar'
And nothing seems to work. Any information on how to solve this?
Thank you!
Are you using Kamal 1 or Kamal 2? Kamal 2 does not use .env anymore.
In any case what results do you get? Have you tried specifying the env variable directly in deploy.yml?
Are you using Kamal 1 or Kamal 2? Kamal 2 does not use .env anymore.
In any case what results do you get? Have you tried specifying the env variable directly in
deploy.yml?
I use Kamal 1. If I put in the deploy.yml directly it's works.
Going to close this as it is for Kamal 1.0