Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

fix: adding secret key variable in newline (#5361)

Akshat Jain8e87c482497d
diff --git a/apiserver/.env.example b/apiserver/.env.example
index 7af2f00569..ad2140a5d5 100644
--- a/apiserver/.env.example
+++ b/apiserver/.env.example
@@ -52,4 +52,4 @@ SPACE_BASE_URL=
APP_BASE_URL=
# Hard delete files after days
-HARD_DELETE_AFTER_DAYS=
\ No newline at end of file
+HARD_DELETE_AFTER_DAYS=60
diff --git a/apiserver/bin/docker-entrypoint-api-local.sh b/apiserver/bin/docker-entrypoint-api-local.sh
index 3194009b2c..b5489b46ec 100755
--- a/apiserver/bin/docker-entrypoint-api-local.sh
+++ b/apiserver/bin/docker-entrypoint-api-local.sh
@@ -32,4 +32,3 @@ python manage.py create_bucket
python manage.py clear_cache
python manage.py runserver 0.0.0.0:8000 --settings=plane.settings.local
-
diff --git a/setup.sh b/setup.sh
index 838f5bbac9..9b84edeb59 100755
--- a/setup.sh
+++ b/setup.sh
@@ -11,4 +11,4 @@ cp ./space/.env.example ./space/.env
cp ./admin/.env.example ./admin/.env
# Generate the SECRET_KEY that will be used by django
-echo "SECRET_KEY=\"$(tr -dc 'a-z0-9' < /dev/urandom | head -c50)\"" >> ./apiserver/.env
\ No newline at end of file
+echo -e "\nSECRET_KEY=\"$(tr -dc 'a-z0-9' < /dev/urandom | head -c50)\"" >> ./apiserver/.env