@live-change/frontend-base 0.9.138 → 0.9.140

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +19 -19
  2. package/server-entry.js +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/frontend-base",
3
- "version": "0.9.138",
3
+ "version": "0.9.140",
4
4
  "scripts": {
5
5
  "memDev": "node server/start.js memDev --enableSessions --initScript ./init.js --templatePath ../../base-frontend/index.html",
6
6
  "localDevInit": "rm tmp.db; lcli localDev --enableSessions --initScript ./init.js",
@@ -35,21 +35,21 @@
35
35
  "@lezer/rust": "=1.0.1",
36
36
  "@lezer/sass": "=1.0.3",
37
37
  "@lezer/xml": "=1.0.2",
38
- "@live-change/cli": "^0.9.138",
39
- "@live-change/dao": "^0.9.138",
40
- "@live-change/dao-message": "^0.9.138",
41
- "@live-change/dao-sockjs": "^0.9.138",
42
- "@live-change/dao-vue3": "^0.9.138",
43
- "@live-change/dao-websocket": "^0.9.138",
44
- "@live-change/email-service": "^0.9.138",
45
- "@live-change/password-authentication-service": "^0.9.138",
46
- "@live-change/secret-code-service": "^0.9.138",
47
- "@live-change/secret-link-service": "^0.9.138",
48
- "@live-change/security-frontend": "^0.9.138",
49
- "@live-change/session-service": "^0.9.138",
50
- "@live-change/user-service": "^0.9.138",
51
- "@live-change/vue3-components": "^0.9.138",
52
- "@live-change/vue3-ssr": "^0.9.138",
38
+ "@live-change/cli": "^0.9.140",
39
+ "@live-change/dao": "^0.9.140",
40
+ "@live-change/dao-message": "^0.9.140",
41
+ "@live-change/dao-sockjs": "^0.9.140",
42
+ "@live-change/dao-vue3": "^0.9.140",
43
+ "@live-change/dao-websocket": "^0.9.140",
44
+ "@live-change/email-service": "^0.9.140",
45
+ "@live-change/password-authentication-service": "^0.9.140",
46
+ "@live-change/secret-code-service": "^0.9.140",
47
+ "@live-change/secret-link-service": "^0.9.140",
48
+ "@live-change/security-frontend": "^0.9.140",
49
+ "@live-change/session-service": "^0.9.140",
50
+ "@live-change/user-service": "^0.9.140",
51
+ "@live-change/vue3-components": "^0.9.140",
52
+ "@live-change/vue3-ssr": "^0.9.140",
53
53
  "@primevue/themes": "^4.3.3",
54
54
  "@tailwindcss/node": "4.1.0",
55
55
  "@tailwindcss/oxide": "4.1.0",
@@ -90,7 +90,7 @@
90
90
  "tailwindcss-primeui": "^0.4.0",
91
91
  "typescript": "5.4.5",
92
92
  "unhead": "^1.9.13",
93
- "unplugin-vue-components": "^0.27.0",
93
+ "unplugin-vue-components": "29.0.0",
94
94
  "unplugin-vue-markdown": "^0.26.2",
95
95
  "v-shared-element": "3.1.1",
96
96
  "vite-plugin-checker": "^0.6.4",
@@ -106,7 +106,7 @@
106
106
  "vue3-scroll-border": "0.1.7"
107
107
  },
108
108
  "devDependencies": {
109
- "@live-change/codeceptjs-helper": "^0.9.138",
109
+ "@live-change/codeceptjs-helper": "^0.9.140",
110
110
  "codeceptjs": "^3.6.10",
111
111
  "generate-password": "1.7.1",
112
112
  "playwright": "1.49.1",
@@ -121,5 +121,5 @@
121
121
  "author": "Michał Łaszczewski <michal@laszczewski.pl>",
122
122
  "license": "BSD-3-Clause",
123
123
  "description": "",
124
- "gitHead": "af56bfe0ca7899934a4c563ead788318832336de"
124
+ "gitHead": "c350c0db4539d5f52161ff53967aa211f6f1267f"
125
125
  }
package/server-entry.js CHANGED
@@ -117,7 +117,9 @@ export function sitemapEntry(App, createRouter, routerSitemap, config = {}) {
117
117
  config, api, App, createRouter, host, headers, response, url
118
118
  )
119
119
 
120
- const sitemapPrefix = `https://${ENV_BRAND_DOMAIN}`
120
+ const domain = api.metadata.config.value.domain
121
+
122
+ const sitemapPrefix = `https://${domain}`
121
123
 
122
124
  return routerSitemap((location, opts) => {
123
125
  write({ url: sitemapPrefix + router.resolve(location).href, changefreq: 'daily', priority: 0.5, ...opts })