From 234f942e8245472604c7299fd9e03d096cc824b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E8=B5=AB=E7=84=B6?= Date: Thu, 29 Aug 2024 13:41:25 +0800 Subject: [PATCH] Add seahub_settings.py --- ci/run.py | 2 ++ tests/conf/seahub_settings.py | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/run.py b/ci/run.py index 0795c989..89e32d26 100755 --- a/ci/run.py +++ b/ci/run.py @@ -62,6 +62,8 @@ def _env_add(*a, **kw): _env_add('PKG_CONFIG_PATH', ccnet_dir) _env_add('LD_LIBRARY_PATH', join(PREFIX, 'lib')) + _env_add('JWT_PRIVATE_KEY', '@%ukmcl$k=9u-grs4azdljk(sn0kd!=mzc17xd7x8#!u$1x@kl') + # Prepend the seafile-server/python to PYTHONPATH so we don't need to "make # install" each time after editing python files. _env_add('PYTHONPATH', join(SeafileServer().projectdir, 'python')) diff --git a/tests/conf/seahub_settings.py b/tests/conf/seahub_settings.py index b7eab820..9ee69790 100644 --- a/tests/conf/seahub_settings.py +++ b/tests/conf/seahub_settings.py @@ -1,2 +1 @@ -SECRET_KEY='122h5qj(4&n2712ybr$0mn8x!#sz&(w2w*-zrxe&$!yrzbu9' SITE_ROOT= '/seahub/'