Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Serve assets through a CDN (0.8) #37

Open
wants to merge 1 commit into
base: 0.8
Choose a base branch
from
Open

Conversation

blatyo
Copy link

@blatyo blatyo commented Mar 28, 2011

I need to serve assets through a CDN and stock paperclip supports that by specifying:

:s3_host_alias => "www.cdn.com",
:url => ":s3_alias_url"

Currently, paperclipped doesn't have a setting for :s3_host_alias, so this pull request attempts to remedy that.

This is a backport of the other pull request I made for the version that we use.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant