From a62f7d430daf5508be4ae8ba9485b153105a458b Mon Sep 17 00:00:00 2001 From: icyleaf Date: Fri, 8 Mar 2024 08:02:43 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20rails=20secret=20=E5=AD=97=E7=AC=A6?= =?UTF-8?q?=E5=81=9A=E5=85=BC=E5=AE=B9=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 关联 tryzealot/zealot-docker#14 --- config/secrets.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/secrets.yml b/config/secrets.yml index b96ec88d4..56633e8b2 100644 --- a/config/secrets.yml +++ b/config/secrets.yml @@ -11,7 +11,7 @@ # if you're sharing your code publicly. x-default: &default - secret_key_base: <%= ENV['SECRET_TOKEN'] || 'd42f6363da844381a4dfa25d76a4d0c0b992b5de907a165a21fa9a01662e05792915e6537ecbc4d3d55c0de5e9d159d96ba035ff517f9cff27d5bf0c2d55830b' %> + secret_key_base: "<%= ENV['SECRET_TOKEN'] || 'd42f6363da844381a4dfa25d76a4d0c0b992b5de907a165a21fa9a01662e05792915e6537ecbc4d3d55c0de5e9d159d96ba035ff517f9cff27d5bf0c2d55830b' %>" development: <<: *default @@ -20,4 +20,4 @@ test: <<: *default production: - secret_key_base: <%= ENV['SECRET_TOKEN'] %> \ No newline at end of file + secret_key_base: "<%= ENV['SECRET_TOKEN'] %>"