Skip to content

fzbian/redirect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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