项目作者: bengreenier-archive

项目描述 :
deeplink redirects for protocol handlers
高级语言: JavaScript
项目地址: git://github.com/bengreenier-archive/superdeep.link.git
创建时间: 2016-12-22T21:03:09Z
项目社区:https://github.com/bengreenier-archive/superdeep.link

开源协议:MIT License

下载


superdeep.link

Build Status
Deploy to Azure

deeplink redirects for protocol handlers

API

/

Shows a landing page

/

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

Examples

With a uri:

Note: this fails on azure :frowning_face:

  1. GET http://superdeep.link/customProtocol://path/?to=thing HTTP/1.1
  2. HTTP/1.1 301 Moved Permanently
  3. Location: customProtocol://path/?to=thing

With an encoded uri:

Note: this works on azure :smile:

  1. GET http://superdeep.link/customProtocol/path/?to=thing HTTP/1.1
  2. HTTP/1.1 301 Moved Permanently
  3. Location: customProtocol://path/?to=thing

With a urn:

  1. GET http://superdeep.link/spotify:track:5mQNY6pTeSDl2doFB7uLbE HTTP/1.1
  2. HTTP/1.1 301 Moved Permanently
  3. Location: spotify:track:5mQNY6pTeSDl2doFB7uLbE

License

MIT