MediaWiki:Common.js: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
if ( mw.config.get('wgPageName') === 'Current_worldguards' ) { |
if ( mw.config.get('wgPageName') === 'Current_worldguards' ) { |
||
function fetch_worldguard_data() { |
function fetch_worldguard_data() { |
||
fetch("https://betadynmap.puucraft.net/standalone/regions_world.json", {headers: {"Content-Security-Policy": " |
fetch("https://betadynmap.puucraft.net/standalone/regions_world.json", {headers: {"Content-Security-Policy": "connect-src 'none'"}}) |
||
.then(function(response) { |
.then(function(response) { |
||
if (response.ok) { |
if (response.ok) { |