@gallop.software/studio 2.1.2 → 2.1.4

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.
@@ -11,7 +11,7 @@
11
11
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
12
12
  }
13
13
  </style>
14
- <script type="module" crossorigin src="/assets/index-TPS3nigu.js"></script>
14
+ <script type="module" crossorigin src="/assets/index-BRIRRA5r.js"></script>
15
15
  </head>
16
16
  <body>
17
17
  <div id="root"></div>
@@ -2269,11 +2269,9 @@ async function startServer(options) {
2269
2269
  const envLocalPath = join(workspace, ".env.local");
2270
2270
  const envPath = join(workspace, ".env");
2271
2271
  if (existsSync(envLocalPath)) {
2272
- loadEnv({ path: envLocalPath });
2273
- console.log("Loaded environment from .env.local");
2272
+ loadEnv({ path: envLocalPath, quiet: true });
2274
2273
  } else if (existsSync(envPath)) {
2275
- loadEnv({ path: envPath });
2276
- console.log("Loaded environment from .env");
2274
+ loadEnv({ path: envPath, quiet: true });
2277
2275
  }
2278
2276
  app.use(express.json({ limit: "50mb" }));
2279
2277
  app.use(express.urlencoded({ extended: true, limit: "50mb" }));
@@ -2297,7 +2295,7 @@ async function startServer(options) {
2297
2295
  app.post("/api/studio/cdns", wrapHandler(handleUpdateCdns));
2298
2296
  app.post("/api/studio/generate-favicon", wrapHandler(handleGenerateFavicon, true));
2299
2297
  app.delete("/api/studio/delete", wrapHandler(handleDelete));
2300
- app.use("/public", express.static(join(workspace, "public")));
2298
+ app.use(express.static(join(workspace, "public")));
2301
2299
  const clientDir = resolve(__dirname, "../client");
2302
2300
  app.get("/", (req, res) => {
2303
2301
  const htmlPath = join(clientDir, "index.html");