From c18f37041ddc9da19eb8bd37270f07cdd8ed4120 Mon Sep 17 00:00:00 2001 From: Inhji Date: Sat, 10 Jun 2023 07:59:36 +0200 Subject: [PATCH] expose location header for micropub clients --- config/prod.exs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/prod.exs b/config/prod.exs index 0bea02d..467f09b 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -20,7 +20,8 @@ config :logger, level: :debug config :cors_plug, origin: ["app://obsidian.md"], max_age: 86400, - methods: ["GET", "POST"] + methods: ["GET", "POST"], + expose: ["Location", "location"] # Runtime production configuration, including reading # of environment variables, is done on config/runtime.exs.