From 09661d9a0ce64392ccfde451348e3a0b878f7a3e Mon Sep 17 00:00:00 2001 From: chiu Date: Sat, 8 Apr 2023 08:27:22 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E3=80=8Clib/roda/proxy.rb?= =?UTF-8?q?=E3=80=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/roda/proxy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/roda/proxy.rb b/lib/roda/proxy.rb index 0aeeccf..b7f7520 100644 --- a/lib/roda/proxy.rb +++ b/lib/roda/proxy.rb @@ -75,7 +75,7 @@ class Roda req = request_class.new(_proxy_url.to_s, _proxy_headers) env_body = env["rack.input"].read env_content_type = env['CONTENT_TYPE'] - secret_key_base = YAML.load(File.read(File.expand_path("../../../../config/secrets.yml",__FILE__)))['production']['secret_key_base'] + #secret_key_base = YAML.load(File.read(File.expand_path("../../../../config/secrets.yml",__FILE__)))['production']['secret_key_base'] unless env_body.nil? req.body = env_body end