Skip to content

bengreenier-archive/superdeep.link

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

superdeep.link

Build Status Deploy to Azure

deeplink redirects for protocol handlers

API

/

Shows a landing page

/<placeToRedirectTo>

Redirects the caller (with a 301) to the given location.

Examples

With a uri:

Note: this fails on azure ☹️

GET http://superdeep.link/customProtocol://path/?to=thing HTTP/1.1

HTTP/1.1 301 Moved Permanently
Location: customProtocol://path/?to=thing

With an encoded uri:

Note: this works on azure 😄

GET http://superdeep.link/customProtocol/path/?to=thing HTTP/1.1

HTTP/1.1 301 Moved Permanently
Location: customProtocol://path/?to=thing

With a urn:

GET http://superdeep.link/spotify:track:5mQNY6pTeSDl2doFB7uLbE HTTP/1.1

HTTP/1.1 301 Moved Permanently
Location: spotify:track:5mQNY6pTeSDl2doFB7uLbE

License

MIT