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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
micro-redirect
A tiny Node.js microservice to redirect users to a different location.
Your own micro-redirect
is one click away:
You can also deploy with a single command from the terminal (assuming you have now
installed):
-e REDIRECT_URL=mypage.com withspectrum/micro-redirect
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>
clone git@github.com:withspectrum/micro-redirect.git
run dev
The server will then be listening at localhost:3000
.
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! ?
Copyright (c) 2017 Space Program Inc, licensed under the MIT license. See LICENSE.md for more information.