Skip to content

Commit

Permalink
FIX expose public assets to the public for public/
Browse files Browse the repository at this point in the history
SilverStripe core 4.1 enables the option of a subdirectory as the docroot
of the web server - "public/". To enable items that were previously within
the docroot (such as themes/watea/images, etc.) we must use the new
"expose" extension with composer.
  • Loading branch information
Dylan Wagstaff committed Feb 20, 2018
1 parent 2275243 commit bd89aee
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@
"installer-name": "watea",
"branch-alias": {
"dev-master": "2.x-dev"
}
},
"expose": [
"dist",
"ico",
"images"
]
},
"minimum-stability": "dev",
"prefer-stable": true,
Expand Down

0 comments on commit bd89aee

Please sign in to comment.