From 0eb66464ababc958b415e804bac205c2dc32baeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Moya?= Date: Fri, 17 Nov 2023 09:59:04 +0100 Subject: [PATCH] :sparkles: Enable file validation by default in devenv --- backend/scripts/repl | 2 +- backend/scripts/start-dev | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/backend/scripts/repl b/backend/scripts/repl index 351accaac6..61cee99fca 100755 --- a/backend/scripts/repl +++ b/backend/scripts/repl @@ -26,7 +26,7 @@ export PENPOT_FLAGS="\ enable-soft-rpc-rlimit \ enable-webhooks \ enable-access-tokens \ - disable-file-validation"; + enable-file-validation"; # export PENPOT_DATABASE_URI="postgresql://172.17.0.1:5432/penpot" # export PENPOT_DATABASE_USERNAME="penpot" diff --git a/backend/scripts/start-dev b/backend/scripts/start-dev index 6322a27b35..78fdd4ee6b 100755 --- a/backend/scripts/start-dev +++ b/backend/scripts/start-dev @@ -12,13 +12,12 @@ export PENPOT_FLAGS="\ enable-audit-log \ enable-transit-readable-response \ enable-demo-users \ - enable-file-validation \ enable-feature-fdata-pointer-map \ enable-feature-fdata-objects-map \ disable-secure-session-cookies \ enable-smtp \ enable-access-tokens \ - disable-file-validation"; + enable-file-validation"; # Initialize MINIO config mc alias set penpot-s3/ http://minio:9000 minioadmin minioadmin