forked from MapComplete/MastodonBot
Update url, fix #1
This commit is contained in:
parent
9700702804
commit
c00fe1a811
1 changed files with 2 additions and 2 deletions
|
@ -161,7 +161,7 @@ export class Postbuilder {
|
||||||
if (contributorCount == 1) {
|
if (contributorCount == 1) {
|
||||||
contribCountStr = "a contributor"
|
contribCountStr = "a contributor"
|
||||||
}
|
}
|
||||||
return `${contribCountStr} ${statistics.summaryText} on https://mapcomplete.osm.be/${theme}`
|
return `${contribCountStr} ${statistics.summaryText} on https://mapcomplete.org/${theme}`
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -314,7 +314,7 @@ export class Postbuilder {
|
||||||
}
|
}
|
||||||
const singleTheme = this._config?.themeWhitelist?.length === 1 ? "/" + this._config.themeWhitelist[0] : ""
|
const singleTheme = this._config?.themeWhitelist?.length === 1 ? "/" + this._config.themeWhitelist[0] : ""
|
||||||
let toSend: string[] = [
|
let toSend: string[] = [
|
||||||
`${perContributor.keys().length} people made ${totalStats.total} changes ${timePeriod} to #OpenStreetMap using https://mapcomplete.osm.be${singleTheme}`,
|
`${perContributor.keys().length} people made ${totalStats.total} changes ${timePeriod} to #OpenStreetMap using https://mapcomplete.org${singleTheme}`,
|
||||||
""
|
""
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue