@bbki.ng/site 2.0.19 → 2.0.21

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.21
4
+
5
+ ## 2.0.20
6
+
3
7
  ## 2.0.19
4
8
 
5
9
  ## 2.0.18
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbki.ng/site",
3
- "version": "2.0.19",
3
+ "version": "2.0.21",
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,13 @@ export default defineConfig({
117
117
  name: "bbki.ng",
118
118
  description: "A personal blog.",
119
119
  theme_color: "#ffffff",
120
- "share_target": {
120
+ share_target: {
121
121
  "action": "/new-content-handler/",
122
122
  "method": "GET",
123
123
  "params": {
124
- "text": "content",
124
+ "title": "title",
125
+ "text": "text",
126
+ "url": "url"
125
127
  }
126
128
  },
127
129
  icons: [