Fix map of queenscliffe not generating

This commit is contained in:
2024-09-23 21:59:55 +10:00
parent 0f05fe20ec
commit 45eba00d5d
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,7 +1,7 @@
import polylabel from 'polylabel';
function normaliseCouncilName(str) {
const regex = /(.*?)(?:(?: Rural)?(?: City| Shire) Council)/g;
const regex = /(.*?)(?:(?: Rural)?(?: City| Shire| Borough) Council)/g;
const matches = str.matchAll(regex);
// If we get a match, convert to slug format