forked from MapComplete/MapComplete
Better social images
This commit is contained in:
parent
54158767d2
commit
135d8644da
25 changed files with 6032 additions and 668 deletions
|
@ -102,6 +102,9 @@ class LayerOverviewUtils {
|
|||
.filter(path => !path.startsWith("./assets/generated"))
|
||||
let errCount = 0;
|
||||
for (const path of allSvgs) {
|
||||
if(path.indexOf("assets/SocialImageTemplate") >= 0){
|
||||
continue
|
||||
}
|
||||
const contents = readFileSync(path, "UTF8")
|
||||
if (contents.indexOf("data:image/png;") < 0) {
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue