Hello, I am making a web game with godot and want to implement some anti-piracy features. I am trying to copy what is laid out here - https://github.com/nyunesu/web-games (scroll down to the piracy section). All I need to do is find the url that the game is beng hosted on and compare it to a list of allowed hosts - with an exception for if it is being tested in the editor. Is this possible with godot? Where should I start?
Thanks in advance.