Skip to content
This repository has been archived by the owner on Jul 28, 2020. It is now read-only.

A personal URL shortening service

License

Notifications You must be signed in to change notification settings

sergiodxa/personal-shortening

Repository files navigation

personal-shortening

Build Status

A personal URL shortening service

How it works

When a request is received it checks the URL.

If it the pathname is on data/urls.json redirect to the expected URL.

If it's not append the pathname to the REDIRECT_URL env variable.

Add new short URL

Open data/urls.json and add a new key whose value is the target URL.