withspectrum/micro-redirect

Name: micro-redirect

Owner: Spectrum

Description: A tiny Node.js microservice to redirect users to a different location.

Created: 2017-10-07 12:44:35.0

Updated: 2018-02-15 02:06:12.0

Pushed: 2017-10-10 17:30:52.0

Homepage: null

Size: 20

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

micro-redirect

A tiny Node.js microservice to redirect users to a different location.

Deployment

Your own micro-redirect is one click away:

Deploy to now

You can also deploy with a single command from the terminal (assuming you have now installed):

-e REDIRECT_URL=mypage.com withspectrum/micro-redirect
Usage

Set the REDIRECT_URL environment variable to the page you want to redirect to, then send your users to your micro-redirect instance.

For example:

-e REDIRECT_URL=home.com withspectrum/micro-redirect
TML
ref="mymicroredirect.com">Go to home</a>
Development
clone git@github.com:withspectrum/micro-redirect.git
run dev

The server will then be listening at localhost:3000.

Updating

The master branch of this repository is what you will be deploying. To update to a new version with potential bugfixes, all you have to do is run the now command again and change the URL you call in your app! ?

License

Copyright (c) 2017 Space Program Inc, licensed under the MIT license. See LICENSE.md for more information.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.