From 3634fe0ebf5c74de48fff656a9870450095d8460 Mon Sep 17 00:00:00 2001 From: sladecraven Date: Sat, 19 Feb 2022 09:30:35 +0100 Subject: [PATCH] Use another server for measures --- module/modules/swade-fr-init.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/modules/swade-fr-init.js b/module/modules/swade-fr-init.js index a694d54..da0b2fa 100644 --- a/module/modules/swade-fr-init.js +++ b/module/modules/swade-fr-init.js @@ -152,7 +152,8 @@ function registerUsageCount( registerKey ) { game.settings.set(registerKey, "world-key", worldKey ) } // Simple API counter - $.ajax(`https://jdr.lahiette.com/fvtt_appcount/count.php?name="${registerKey}"&worldKey="${worldKey}"&version="${game.release.generation}.${game.release.build}"&system="${game.system.id}"&systemversion="${game.system.data.version}"`) + let regURL = `https://www.uberwald.me/fvtt_appcount/count.php?name="${registerKey}"&worldKey="${worldKey}"&version="${game.release.generation}.${game.release.build}"&system="${game.system.id}"&systemversion="${game.system.data.version}"` + $.ajax(regURL) /* -------------------------------------------- */ } }