No default API URL, exit when not given

main
parent 5a1072f6d8
commit 6d8853c9ee
  1. 2
      wiki-map.pl

@ -49,6 +49,8 @@ GetOptions
'regiondir=s' => \$regiondir 'regiondir=s' => \$regiondir
); );
$api_url // croak "Base API URL is required! Use --api-url to set
my $grid = HexGrid->new(defaults => { my $grid = HexGrid->new(defaults => {
style => { 'stroke-width' => $border_width, stroke => $border_colour }, style => { 'stroke-width' => $border_width, stroke => $border_colour },
show_coords => $show_coords }); show_coords => $show_coords });

Loading…
Cancel
Save