@nekzus/liop-studio 1.0.0-alpha.2 → 1.0.0-alpha.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.js CHANGED
@@ -2013,7 +2013,7 @@ function createStudioServer(options = {}) {
2013
2013
  app.use(
2014
2014
  "/*",
2015
2015
  serveStatic({
2016
- root: path.relative(process4.cwd(), distPath).replace(/\\/g, "/"),
2016
+ root: distPath,
2017
2017
  rewriteRequestPath: (pathStr) => {
2018
2018
  if (!pathStr.includes(".") && !pathStr.startsWith("/api") && pathStr !== "/health") {
2019
2019
  return "/index.html";