try fixing crsf token problem

This commit is contained in:
Daniere Mathieu 2023-10-28 13:40:26 +02:00
parent 86c6cc00d8
commit d56c3c3155
2 changed files with 9 additions and 2 deletions

View File

@ -12,5 +12,12 @@
"author": "https://github.com/benjaminjonard",
"source": "https://github.com/benjaminjonard/koillection",
"website": "https://koillection.github.io/",
"form_fields": []
"form_fields": [
{
"type": "boolean",
"label": "https enable",
"required": true,
"env_variable": "HTTPS_ENABLED"
}
]
}

View File

@ -14,7 +14,7 @@ services:
environment:
- APP_DEBUG=0
- APP_ENV=prod
- HTTPS_ENABLED=1
- HTTPS_ENABLED={HTTPS_ENABLED}
- UPLOAD_MAX_FILESIZE=20M
- PHP_MEMORY_LIMIT=512M
- PHP_TZ=${TZ}