fzbian / redirect

server to redirect to a web page

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Redirect

This is a small server-side code used to redirect users to another page. It can be useful for logging visits to the original page and the page being redirected to. This can help you measure traffic and understand how users interact with your website. In addition, it can also be used to create a personalized user experience, sending users to different pages based on their behavior or interests.

Config

Configure the .env file with the appropriate parameters

PORT=3000
URL=https://google.com/

Run

go run main.go

About

server to redirect to a web page


Languages

Language:Go 80.0%Language:Dockerfile 15.6%Language:Shell 4.4%