ksrw-core 0.1.1 → 0.1.2
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/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -5942,7 +5942,7 @@ async function handleApi(req, res, store, guard, office, schedule) {
|
|
|
5942
5942
|
if (pathname === "/ksrw/api/health") {
|
|
5943
5943
|
const home = resolveKsrwHome();
|
|
5944
5944
|
const label = home.startsWith(homedir4()) ? "~" + home.slice(homedir4().length) : home;
|
|
5945
|
-
ok(res, { product: "KSRW", version: "0.1.
|
|
5945
|
+
ok(res, { product: "KSRW", version: "0.1.2", home, homeLabel: label });
|
|
5946
5946
|
return;
|
|
5947
5947
|
}
|
|
5948
5948
|
if (pathname === "/ksrw/api/project/figures" && method === "GET") {
|
|
@@ -6805,7 +6805,7 @@ function startSessionAutoArchive(log) {
|
|
|
6805
6805
|
// plugins/ksrw-core/src/index.ts
|
|
6806
6806
|
var name = "ksrw-core";
|
|
6807
6807
|
var inject = ["webServer"];
|
|
6808
|
-
var VERSION = "0.1.
|
|
6808
|
+
var VERSION = "0.1.2";
|
|
6809
6809
|
var PUBLIC_ROOT = join16(dirname8(fileURLToPath2(import.meta.url)), "..", "public");
|
|
6810
6810
|
var MIME = {
|
|
6811
6811
|
".html": "text/html; charset=utf-8",
|