Forgot to finish last paragraph.  Make resource url relative rather than hardcoded.