Skip to content

Commit 771b392

Browse files
authored
Merge pull request #4711 from Nubonetics/service/labelstudio-1.14.0
Fixing the CSRF bug for labelstudio versions 1.14.0 and higher
2 parents 4c43226 + e6b1893 commit 771b392

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/compose/labelstudio.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ services:
1212
condition: service_healthy
1313
environment:
1414
- SERVICE_FQDN_LABELSTUDIO_8080
15+
- CSRF_TRUSTED_ORIGINS=${SERVICE_FQDN_LABELSTUDIO}
16+
- EXPERIMENTAL_FEATURES=${EXPERIMENTAL_FEATURES:-1}
1517
- DJANGO_DB=${DJANGO_DB:-default}
1618
- POSTGRE_NAME=${POSTGRES_DB:-labelstudio}
1719
- POSTGRE_USER=${SERVICE_USER_POSTGRES}

0 commit comments

Comments
 (0)