From 356698caf5ebafb863652a08df2b3b86f49ad570 Mon Sep 17 00:00:00 2001 From: Inex Code Date: Fri, 24 Jun 2022 20:26:17 +0300 Subject: [PATCH] add cors --- pkgs/selfprivacy-api/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/selfprivacy-api/default.nix b/pkgs/selfprivacy-api/default.nix index 30c2326..7317195 100644 --- a/pkgs/selfprivacy-api/default.nix +++ b/pkgs/selfprivacy-api/default.nix @@ -9,6 +9,7 @@ let , fetchPypi , flask , flask-restful + , flask-cors , setuptools , portalocker , flask-swagger @@ -28,12 +29,13 @@ let version = "1.2.6"; src = builtins.fetchGit { url = "https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git"; - rev = "07e723dec8f61b9a987136f751809060db9f4df4"; + rev = "c6a3588e3374c3a66b5a737934a1684dc6a4352b"; ref = "graphql"; }; propagatedBuildInputs = [ flask flask-restful + flask-cors setuptools portalocker flask-swagger