diff --git a/app/src/parse.js b/app/src/parse.js index 77705248..b4c79479 100644 --- a/app/src/parse.js +++ b/app/src/parse.js @@ -15,7 +15,7 @@ function strictParseInt(value) { function parseBuildingURL(url){ - const re = /^\/building\/([^\/]+)(\/edit)?.html$/; + const re = /^\/building\/([^\/]+)(\/edit)?.html/; const matches = re.exec(url); if (matches && matches.length >= 2) {