@bbki.ng/site 2.0.20 → 2.0.22

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @bbki.ng/site
2
2
 
3
+ ## 2.0.22
4
+
5
+ ## 2.0.21
6
+
3
7
  ## 2.0.20
4
8
 
5
9
  ## 2.0.19
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbki.ng/site",
3
- "version": "2.0.20",
3
+ "version": "2.0.22",
4
4
  "description": "code behind bbki.ng",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/vite.config.js CHANGED
@@ -89,7 +89,7 @@ export default defineConfig({
89
89
  method: "GET",
90
90
  handler: ({ event, data }) => {
91
91
  const url = new URL(event.request.url);
92
- const sharedContent = url.searchParams.get("content");
92
+ const sharedContent = url.searchParams.get("text");
93
93
 
94
94
  // post the shared content to the main thread
95
95
  if (sharedContent) {
@@ -117,11 +117,15 @@ export default defineConfig({
117
117
  name: "bbki.ng",
118
118
  description: "A personal blog.",
119
119
  theme_color: "#ffffff",
120
+ display: "fullscreen",
121
+ start_url: "/",
120
122
  share_target: {
121
123
  "action": "/new-content-handler/",
122
124
  "method": "GET",
123
125
  "params": {
124
- "text": "content",
126
+ "title": "title",
127
+ "text": "text",
128
+ "url": "url"
125
129
  }
126
130
  },
127
131
  icons: [