arubacao / asset-cdn

Serve Laravel Assets from a Content Delivery Network (CDN)
MIT License
112 stars 26 forks source link

mix_cdn() and asset_cdn() does not work on production server #5

Closed KhoaDuongUQ closed 4 years ago

KhoaDuongUQ commented 4 years ago

Hi,

Your library works perfectly on my local dev environment but somehow mix_cdn() and asset_cdn() helper functions keep output URL to the assets in my server instead of the URL to CloudFront.

Do you have any suggestions about the problem?

Thanks for your work again.

KhoaDuongUQ commented 4 years ago

My bad, I forgot to enable USE_CDN in my production server.

I will close this ticket.

Thanks