@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 +4 -0
- package/package.json +1 -1
- package/vite.config.js +5 -3
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
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("
|
|
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
|
-
|
|
120
|
+
share_target: {
|
|
121
121
|
"action": "/new-content-handler/",
|
|
122
122
|
"method": "GET",
|
|
123
123
|
"params": {
|
|
124
|
-
"
|
|
124
|
+
"title": "title",
|
|
125
|
+
"text": "text",
|
|
126
|
+
"url": "url"
|
|
125
127
|
}
|
|
126
128
|
},
|
|
127
129
|
icons: [
|