1
0
mirror of https://github.com/dzeiocom/libs.git synced 2025-06-12 19:09:18 +00:00

Fixed Sitemap image xml

Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
2021-05-07 11:07:57 +02:00
parent 0b084833a3
commit 0c7662e06d
2 changed files with 10 additions and 10 deletions

View File

@ -4,7 +4,7 @@ export default class Sitemap {
private static allowedChangefreq = ['always', 'hourly', 'daily', 'weekly', 'monthly', 'yearly', 'never']
private datas = '<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" image:xmlns="http://www.google.com/schemas/sitemap-image/1.1">'
private datas = '<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">'
public constructor(
private domain: string, private options?: {