vibora 2.6.2 → 2.6.3
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/dist/index.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<link rel="icon" type="image/jpeg" href="/logo-dark.jpg" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<title>Vibora</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-D1FU-kRb.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/assets/index-BtG6gcrm.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
package/package.json
CHANGED
package/server/index.js
CHANGED
|
@@ -145181,7 +145181,10 @@ function createApp() {
|
|
|
145181
145181
|
ico: "image/x-icon",
|
|
145182
145182
|
svg: "image/svg+xml",
|
|
145183
145183
|
woff: "font/woff",
|
|
145184
|
-
woff2: "font/woff2"
|
|
145184
|
+
woff2: "font/woff2",
|
|
145185
|
+
mp3: "audio/mpeg",
|
|
145186
|
+
wav: "audio/wav",
|
|
145187
|
+
ogg: "audio/ogg"
|
|
145185
145188
|
};
|
|
145186
145189
|
const content = await readFile2(filePath);
|
|
145187
145190
|
return new Response(content, {
|
|
@@ -145195,6 +145198,13 @@ function createApp() {
|
|
|
145195
145198
|
}
|
|
145196
145199
|
return c.notFound();
|
|
145197
145200
|
});
|
|
145201
|
+
app13.get("/sounds/*", async (c) => {
|
|
145202
|
+
const soundPath = join13(distPath, c.req.path);
|
|
145203
|
+
if (existsSync11(soundPath)) {
|
|
145204
|
+
return serveFile(soundPath);
|
|
145205
|
+
}
|
|
145206
|
+
return c.notFound();
|
|
145207
|
+
});
|
|
145198
145208
|
const staticFiles = ["favicon.ico", "vibora-icon.png", "vibora-logo.jpeg", "vite.svg", "logo-dark.jpg", "logo-light.jpg"];
|
|
145199
145209
|
for (const file of staticFiles) {
|
|
145200
145210
|
app13.get(`/${file}`, async () => {
|