8000 GitHub - SU-SWS/assets_stanford_edu: Storyblok Asset CDN Mask
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

SU-SWS/assets_stanford_edu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asset Proxy for Storyblok CDN

This repo contains redirect rules to mask the asset CDN from storyblok.

To use:

  • For assets from https://a.storyblok.com use https://assets.stanford.edu/a
  • For assets from https://img2.storyblok.com use https://assets.stanford.edu/i
  • For private assets from https://private-img.storyblok.com use https://assets.stanford.edu/p

Examples:

Image URL
Raw URL: https://img2.storyblok.com/f/78141/360x360/1f41a7549e/do-not-delete-me-i-am-used-for-testing.png
asked URL: https://assets.stanford.edu/i/f/78141/360x360/1f41a7549e/do-not-delete-me-i-am-used-for-testing.png

Asset URL (Files such as PDFs and word docs)
Raw URL: https://a.storyblok.com/f/78141/360x360/1f41a7549e/do-not-delete-me-i-am-used-for-testing.png
Masked URL: https://assets.stanford.edu/a/f/78141/360x360/1f41a7549e/do-not-delete-me-i-am-used-for-testing.png

Private Asset URL (Signed URLs)
Raw URL: https://private-img.storyblok.com/200x200/https://s3.amazonaws.com/a.storyblok.co...f45cbf0b01242.png
Masked URL: https://assets.stanford.edu/p/200x200/https://s3.amazonaws.com/a.storyblok.co...f45cbf0b01242.png

USA Asset URL (Files such as PDFs and word docs)
Raw URL: https://a-us.storyblok.com/f/78141/360x360/1f41a7549e/do-not-delete-me-i-am-used-for-testing.png
Masked URL: https://assets.stanford.edu/a-us/f/78141/360x360/1f41a7549e/do-not-delete-me-i-am-used-for-testing.png

Resources

Releases

No releases published

Packages

No packages published

Languages

0