Skip to content

weld-io/short-url-redirector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

short-url-redirector

Redirects an URL, e.g. shorturl.com/foo -> www.longerurl.com/path?id=foo

Run

Development:

yarn dev

Production:

yarn start

Configuration

export REDIRECT_PATHS=localhost:3001=https://www.weld.io/{id},localhost:3002=https://www.weld.io?q={id}

Where {id} is the path parameter that will be replaced.

Releases

No releases published

Packages

No packages published