Commit f26a5c2
committed
minor symfony#59313 [AssetMapper] add leading slash to public prefix (IndraGunawan)
This PR was squashed before being merged into the 6.4 branch.
Discussion
----------
[AssetMapper] add leading slash to public prefix
| Q | A
| ------------- | ---
| Branch? | 6.4
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Issues | -
| License | MIT
```yaml
framework:
asset_mapper:
public_prefix: custom/path
```
i added above config to make `asset-map:compile` command create all files in that directory but i was not aware if that value should start with a `/` and make the page not load properly, so if the `/` is required then we can add it by default instead
Commits
-------
e3a7331 [AssetMapper] add leading slash to public prefixFile tree
4 files changed
+5
-4
lines changed- src/Symfony/Component/AssetMapper
- Path
- Tests
- Fixtures
- Path
4 files changed
+5
-4
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
0 commit comments