Skip to content

Commit cfb8150

Browse files
committed
Fix bad config
1 parent 46c75d2 commit cfb8150

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## v1.5.2 - 2025-02-06
9+
10+
### Fixed
11+
12+
- Fixed bad configuration file caling `env()` vs `environment()`.
13+
814
## v1.5.1 - 2025-02-06
915

1016
### Changed

config/assets.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
| can be customized to any other path.
1717
|
1818
*/
19-
'path' => env( 'ASSET_BUILD_PATH', 'build' ),
19+
'path' => environment( 'ASSET_BUILD_PATH', 'build' ),
2020

2121
/*
2222
|--------------------------------------------------------------------------
@@ -25,7 +25,7 @@
2525
|
2626
| This URL is used to properly generate the URL to built assets.
2727
*/
28-
'url' => env(
28+
'url' => environment(
2929
'ASSET_BUILD_URL',
3030
function_exists( 'plugin_dir_url' ) ? \plugin_dir_url( __DIR__ ) . 'build' : '', // todo: replace with a framework helper method.
3131
),

0 commit comments

Comments
 (0)