Skip to content

Beautiful Open-Source Form Builder

Fix sitemap source URL

Julien Nahum95b34ab680ef
diff --git a/client/sitemap.js b/client/sitemap.js
index 6dc540573..939c9a820 100644
--- a/client/sitemap.js
+++ b/client/sitemap.js
@@ -1,9 +1,7 @@
-import opnformConfig from "./opnform.config.js";
-
export default {
exclude: ['/settings/**', '/subscriptions/**', '/templates/my-templates'],
sources: [
- opnformConfig.api_url + '/sitemap-urls'
+ process.env.NUXT_PUBLIC_API_BASE + '/sitemap-urls'
],
cacheMaxAgeSeconds: 3600
}