@gallop.software/studio 2.3.110 → 2.3.111

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.
@@ -4687,15 +4687,7 @@ async function startServer(options) {
4687
4687
  );
4688
4688
  app.post("/api/studio/delete", wrapHandler(handleDelete));
4689
4689
  app.post("/api/studio/delete-stream", wrapHandler(handleDeleteStream, true));
4690
- app.use(express.static(join(workspace, "public"), {
4691
- etag: false,
4692
- lastModified: false,
4693
- setHeaders: (res) => {
4694
- res.setHeader("Cache-Control", "no-store, no-cache, must-revalidate, proxy-revalidate");
4695
- res.setHeader("Pragma", "no-cache");
4696
- res.setHeader("Expires", "0");
4697
- }
4698
- }));
4690
+ app.use(express.static(join(workspace, "public")));
4699
4691
  const clientDir = resolve(__dirname, "../client");
4700
4692
  app.get("/", (req, res) => {
4701
4693
  const htmlPath = join(clientDir, "index.html");
@@ -4712,15 +4704,7 @@ async function startServer(options) {
4712
4704
  res.status(404).send("Client not built. Run npm run build first.");
4713
4705
  }
4714
4706
  });
4715
- app.use(express.static(clientDir, {
4716
- etag: false,
4717
- lastModified: false,
4718
- setHeaders: (res) => {
4719
- res.setHeader("Cache-Control", "no-store, no-cache, must-revalidate, proxy-revalidate");
4720
- res.setHeader("Pragma", "no-cache");
4721
- res.setHeader("Expires", "0");
4722
- }
4723
- }));
4707
+ app.use(express.static(clientDir));
4724
4708
  const title = `Gallop - Studio (${version})`;
4725
4709
  app.listen(port, () => {
4726
4710
  console.log(`