Fix sitemap source URL

This commit is contained in:
Julien Nahum 2024-01-15 13:00:18 +01:00
parent ce83534f95
commit 95b34ab680
1 changed files with 1 additions and 3 deletions

4
client/sitemap.js vendored
View File

@ -1,9 +1,7 @@
import opnformConfig from "./opnform.config.js";
export default { export default {
exclude: ['/settings/**', '/subscriptions/**', '/templates/my-templates'], exclude: ['/settings/**', '/subscriptions/**', '/templates/my-templates'],
sources: [ sources: [
opnformConfig.api_url + '/sitemap-urls' process.env.NUXT_PUBLIC_API_BASE + '/sitemap-urls'
], ],
cacheMaxAgeSeconds: 3600 cacheMaxAgeSeconds: 3600
} }