Skip to content

Commit

Permalink
Merge branch 'release/1.0.11'
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Mar 2, 2023
2 parents 5c1e856 + a08775b commit e3a4852
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# nystudio107/spin-up-craft Change Log

## 1.0.11 - 2023.03.02
### Fixed
* Use a unique CSRF token name, to avoid issues with CSRF validation with multiple instances of Craft running on the same host (localhost)

## 1.0.10 - 2023.03.02
### Changed
* Ship with empty `CRAFT_APP_ID` & `CRAFT_SECURITY_KEY` env vars, and generate them via the `run_queue.sh` script, so each instance will have unique values
Expand Down
4 changes: 4 additions & 0 deletions config/general.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
->aliases([
'@web' => App::env('PRIMARY_SITE_URL'),
])
// Use a unique CSRF token name, to avoid issues with CSRF validation with multiple instances of
// Craft running on the same host (localhost)
->csrfTokenName(App::env('CRAFT_APP_ID'))
// Don't run the queue via web request, our queue container handles it
->runQueueAutomatically(false)
// Set the default week start day for date pickers (0 = Sunday, 1 = Monday, etc.)
->defaultWeekStartDay(1)
Expand Down

0 comments on commit e3a4852

Please sign in to comment.