Hello Ryan, There seems to be a spelling error in the following method of t

Hello Ryan,
There seems to be a spelling error in the following method of the Config class:

public void setLink(String defaultProtocal, Boolean addTargetToExternalLinks) {
   JsonObject link = Json.createObject();
   link.put("defaultProtocal", Json.create(defaultProtocal));
   link.put("addTargetToExternalLinks", Json.create(addTargetToExternalLinks));
   configs.put(ConfigType.link, link);
}

“defaultProtocal” shold be named “defaultProtocol”, at least in the JSON Key. Otherwise it will not be recognized.

Also the Config methods

   enableStandardMode();
   enableRestrictedMode();

are working in the false direction, you have to switch them.

regards, Tom

Hi Thomas, thanks for letting me know the mis-spelling and false direction. I’ll fix these soon in the next release. Cheers.

Thank you for the fast fix!

I sent you some additional fixes to your email address you published at Github…

regards,
Tom

Great appreciation on your contribution. I will have a look and do the fixes. Many thanks. Ryan