Skip to content

Commit

Permalink
Add env for public URI, default back to empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
lcharette committed Dec 11, 2023
1 parent d29af49 commit 1349e30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [5.0.1](https://github.com/userfrosting/sprinkle-core/compare/5.0.0...5.0.1)
- Add env for public URI, default back to empty string

## [5.0.0-alpha9](https://github.com/userfrosting/sprinkle-core/compare/5.0.0-alpha8...5.0.0-alpha9)
- Reenable CSRF protection for all routes.
- Update `DebugCommand` : Split command into multiple subcommand and use `DebugCommandEvent` and `DebugVerboseCommandEvent` so custom command can be added to the debug command, like the `bake` command.
Expand Down
2 changes: 1 addition & 1 deletion app/config/production.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
'info' => false,
],
'uri' => [
'public' => 'https://example.com', // This should be set in production to avoid errors !
'public' => env('URI_PUBLIC', ''), // This should be set in production !
],
],
/*
Expand Down

0 comments on commit 1349e30

Please sign in to comment.