@dirathea/busical 0.2.0 → 0.2.1
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.
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
|
3
|
+
<url>
|
|
4
|
+
<loc>https://getbusical.app/</loc>
|
|
5
|
+
<changefreq>weekly</changefreq>
|
|
6
|
+
<priority>1.0</priority>
|
|
7
|
+
</url>
|
|
8
|
+
<url>
|
|
9
|
+
<loc>https://getbusical.app/about</loc>
|
|
10
|
+
<changefreq>monthly</changefreq>
|
|
11
|
+
<priority>0.8</priority>
|
|
12
|
+
</url>
|
|
13
|
+
<url>
|
|
14
|
+
<loc>https://getbusical.app/faq</loc>
|
|
15
|
+
<changefreq>monthly</changefreq>
|
|
16
|
+
<priority>0.8</priority>
|
|
17
|
+
</url>
|
|
18
|
+
<url>
|
|
19
|
+
<loc>https://getbusical.app/privacy</loc>
|
|
20
|
+
<changefreq>monthly</changefreq>
|
|
21
|
+
<priority>0.6</priority>
|
|
22
|
+
</url>
|
|
23
|
+
<url>
|
|
24
|
+
<loc>https://getbusical.app/terms</loc>
|
|
25
|
+
<changefreq>monthly</changefreq>
|
|
26
|
+
<priority>0.6</priority>
|
|
27
|
+
</url>
|
|
28
|
+
</urlset>
|
package/dist/client/sw.js
CHANGED
|
@@ -2288,16 +2288,6 @@ const setup = (app, env) => {
|
|
|
2288
2288
|
);
|
|
2289
2289
|
}
|
|
2290
2290
|
});
|
|
2291
|
-
app.notFound((c) => {
|
|
2292
|
-
return c.json(
|
|
2293
|
-
{
|
|
2294
|
-
success: false,
|
|
2295
|
-
error: "Not found",
|
|
2296
|
-
path: c.req.path
|
|
2297
|
-
},
|
|
2298
|
-
404
|
|
2299
|
-
);
|
|
2300
|
-
});
|
|
2301
2291
|
app.onError((err, c) => {
|
|
2302
2292
|
return c.json(
|
|
2303
2293
|
{
|
|
@@ -2311,7 +2301,7 @@ const setup = (app, env) => {
|
|
|
2311
2301
|
return app;
|
|
2312
2302
|
};
|
|
2313
2303
|
const index = {
|
|
2314
|
-
fetch
|
|
2304
|
+
async fetch(request, env, ctx) {
|
|
2315
2305
|
const app = new Hono();
|
|
2316
2306
|
return setup(app, env).fetch(request);
|
|
2317
2307
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"configPath":"/home/runner/work/getbusicalapp/getbusicalapp/wrangler.jsonc","userConfigPath":"/home/runner/work/getbusicalapp/getbusicalapp/wrangler.jsonc","topLevelName":"getbusicalapp","definedEnvironments":[],"legacy_env":true,"compatibility_date":"2025-04-03","compatibility_flags":[],"jsx_factory":"React.createElement","jsx_fragment":"React.Fragment","rules":[{"type":"ESModule","globs":["**/*.js","**/*.mjs"]}],"name":"getbusicalapp","main":"index.js","triggers":{},"assets":{"directory":"../client","not_found_handling":"single-page-application"},"vars":{},"durable_objects":{"bindings":[]},"workflows":[],"migrations":[],"kv_namespaces":[],"cloudchamber":{},"send_email":[],"queues":{"producers":[],"consumers":[]},"r2_buckets":[],"d1_databases":[],"vectorize":[],"hyperdrive":[],"services":[],"analytics_engine_datasets":[],"dispatch_namespaces":[],"mtls_certificates":[],"pipelines":[],"secrets_store_secrets":[],"unsafe_hello_world":[],"worker_loaders":[],"ratelimits":[],"vpc_services":[],"logfwdr":{"bindings":[]},"python_modules":{"exclude":["**/*.pyc"]},"dev":{"ip":"localhost","local_protocol":"http","upstream_protocol":"http","enable_containers":true,"generate_types":false},"no_bundle":true}
|
|
1
|
+
{"configPath":"/home/runner/work/getbusicalapp/getbusicalapp/wrangler.jsonc","userConfigPath":"/home/runner/work/getbusicalapp/getbusicalapp/wrangler.jsonc","topLevelName":"getbusicalapp","definedEnvironments":[],"legacy_env":true,"compatibility_date":"2025-04-03","compatibility_flags":[],"jsx_factory":"React.createElement","jsx_fragment":"React.Fragment","rules":[{"type":"ESModule","globs":["**/*.js","**/*.mjs"]}],"name":"getbusicalapp","main":"index.js","triggers":{},"assets":{"directory":"../client","not_found_handling":"single-page-application","run_worker_first":["/proxy/*","/health"]},"vars":{},"durable_objects":{"bindings":[]},"workflows":[],"migrations":[],"kv_namespaces":[],"cloudchamber":{},"send_email":[],"queues":{"producers":[],"consumers":[]},"r2_buckets":[],"d1_databases":[],"vectorize":[],"hyperdrive":[],"services":[],"analytics_engine_datasets":[],"dispatch_namespaces":[],"mtls_certificates":[],"pipelines":[],"secrets_store_secrets":[],"unsafe_hello_world":[],"worker_loaders":[],"ratelimits":[],"vpc_services":[],"logfwdr":{"bindings":[]},"python_modules":{"exclude":["**/*.pyc"]},"dev":{"ip":"localhost","local_protocol":"http","upstream_protocol":"http","enable_containers":true,"generate_types":false},"no_bundle":true}
|
package/dist/worker/app.js
CHANGED
|
@@ -202,14 +202,9 @@ const setup = (app, env) => {
|
|
|
202
202
|
}, 500);
|
|
203
203
|
}
|
|
204
204
|
});
|
|
205
|
-
// 404 handler
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
success: false,
|
|
209
|
-
error: "Not found",
|
|
210
|
-
path: c.req.path,
|
|
211
|
-
}, 404);
|
|
212
|
-
});
|
|
205
|
+
// 404 handler removed to allow static assets (SPA routes) to be served
|
|
206
|
+
// by Cloudflare Workers Assets with "not_found_handling": "single-page-application"
|
|
207
|
+
// API routes (/proxy, /health) are explicitly defined above and will work correctly
|
|
213
208
|
// Error handler
|
|
214
209
|
app.onError((err, c) => {
|
|
215
210
|
// No logging - privacy first
|