@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 +4 -0
- package/package.json +1 -1
- package/vite.config.js +6 -2
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,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
|
-
"
|
|
126
|
+
"title": "title",
|
|
127
|
+
"text": "text",
|
|
128
|
+
"url": "url"
|
|
125
129
|
}
|
|
126
130
|
},
|
|
127
131
|
icons: [
|