@gallop.software/studio 2.2.1 → 2.2.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.
@@ -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-BOpIjx06.js"></script>
14
+ <script type="module" crossorigin src="/assets/index-7rndMerw.js"></script>
15
15
  </head>
16
16
  <body>
17
17
  <div id="root"></div>
@@ -2675,12 +2675,9 @@ async function startServer(options) {
2675
2675
  }
2676
2676
  const app = express();
2677
2677
  process.env.STUDIO_WORKSPACE = workspace;
2678
- const envLocalPath = join(workspace, ".env.local");
2679
- const envPath = join(workspace, ".env");
2680
- if (existsSync(envLocalPath)) {
2681
- loadEnv({ path: envLocalPath, quiet: true });
2682
- } else if (existsSync(envPath)) {
2683
- loadEnv({ path: envPath, quiet: true });
2678
+ const envStudioPath = join(workspace, ".env.studio");
2679
+ if (existsSync(envStudioPath)) {
2680
+ loadEnv({ path: envStudioPath, quiet: true });
2684
2681
  }
2685
2682
  app.use((req, res, next) => {
2686
2683
  if (req.path === "/api/studio/upload") {