Workers redirect based on IP

Hey, I am not really good in coding with js but I need some code to redirect the client to another domain when the client’s IP is a specific IP. Could someone please help me? Thank you, happy new year everyone :slight_smile: