I believe this should be done to validate that it's a Flarum installation so that not just any URL can be used.