From e98fb52d89cc34ea4ee1214ce3546ca1a3d4b897 Mon Sep 17 00:00:00 2001 From: Yogesh Ojha Date: Sun, 15 Aug 2021 15:35:48 +0530 Subject: [PATCH] Fixed #424 --- docker-compose.yml | 6 +++--- web/targetApp/static/targetApp/js/custom_domain.js | 2 +- web/targetApp/templates/target/list.html | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 4b5a685cf..de43691aa 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -37,7 +37,7 @@ services: - tool_config:/root/.config - static_volume:/usr/src/app/staticfiles/ environment: - - DEBUG=1 + - DEBUG=0 - CELERY_BROKER=redis://redis:6379/0 - CELERY_BACKEND=redis://redis:6379/0 - POSTGRES_DB=${POSTGRES_DB} @@ -55,7 +55,7 @@ services: build: ./web command: celery -A reNgine beat -l INFO --scheduler django_celery_beat.schedulers:DatabaseScheduler environment: - - DEBUG=1 + - DEBUG=0 - POSTGRES_DB=${POSTGRES_DB} - POSTGRES_USER=${POSTGRES_USER} - POSTGRES_PASSWORD=${POSTGRES_PASSWORD} @@ -80,7 +80,7 @@ services: restart: always image: docker.pkg.github.com/yogeshojha/rengine/rengine:latest environment: - - DEBUG=1 + - DEBUG=0 - CELERY_BROKER=redis://redis:6379/0 - CELERY_BACKEND=redis://redis:6379/0 - POSTGRES_DB=${POSTGRES_DB} diff --git a/web/targetApp/static/targetApp/js/custom_domain.js b/web/targetApp/static/targetApp/js/custom_domain.js index b2ce6e848..abde7b6d3 100644 --- a/web/targetApp/static/targetApp/js/custom_domain.js +++ b/web/targetApp/static/targetApp/js/custom_domain.js @@ -57,7 +57,7 @@ function scanMultipleTargets() { else { // atleast one target is selected multipleScanForm = document.getElementById("multiple_targets_form"); - multipleScanForm.action = '../../start_scan/start/multiple/'; + multipleScanForm.action = '../../scan/start/multiple/'; multipleScanForm.submit(); } } diff --git a/web/targetApp/templates/target/list.html b/web/targetApp/templates/target/list.html index abd717aa7..5ea6c3807 100644 --- a/web/targetApp/templates/target/list.html +++ b/web/targetApp/templates/target/list.html @@ -62,7 +62,7 @@
Filters
-
+ {% csrf_token %}