@memo-code/memo 0.8.6 → 0.8.7
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/web/server/main.cjs +1 -2
- package/package.json +1 -1
package/dist/web/server/main.cjs
CHANGED
|
@@ -145270,9 +145270,8 @@ var require_server = __commonJS({
|
|
|
145270
145270
|
}
|
|
145271
145271
|
app.useStaticAssets(staticDir, { index: false });
|
|
145272
145272
|
const expressApp = app.getHttpAdapter().getInstance();
|
|
145273
|
-
const indexPath = (0, node_path_1.join)(staticDir, "index.html");
|
|
145274
145273
|
expressApp.get(/^\/(?!api(?:\/|$)|healthz$).*/, (_req, res) => {
|
|
145275
|
-
res.sendFile(
|
|
145274
|
+
res.sendFile("index.html", { root: staticDir });
|
|
145276
145275
|
});
|
|
145277
145276
|
logger.log(`Serving web-ui static files from ${staticDir}`);
|
|
145278
145277
|
}
|