This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
osarzola
Hi actually i am doing something like this:
<script src="{{ [
'@jquery',
'@framework',
'@framework.extras',
'assets/js/dist/app.js']|theme }}"></script>
And the results is:
<script src="http://miwebsite.com/combine/dc33ae9030553916daa0aef5a24285bb-1460675005"></script>
how can i change the default behaviour of |theme filter to another domain like a CDN
<script src="http://CDN-PULL-AREA.com/combine/dc33ae9030553916daa0aef5a24285bb-1460675005"></script>
Any clue?
daftspunky
I would consider registering your own |theme
-like tag to rewrite the URL. See the Extending Twig section in the docs.
1-3 of 3