Skip to content

Commit

Permalink
client store removed
Browse files Browse the repository at this point in the history
  • Loading branch information
ackava committed Feb 9, 2024
1 parent 47c03e6 commit ea72ed5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/server/StaticFileServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Router } from "express";
import { existsSync, readFileSync } from "fs";
import { isAbsolute, join, resolve } from "path";
import Packed from "./Packed";
import WAClientStore from "./WAClientStore";
// import WAClientStore from "./WAClientStore";

export default class StaticFileServer {

Expand Down Expand Up @@ -42,10 +42,10 @@ export default class StaticFileServer {

if (checkPacked) {

const id = req.headers["x-debug-id"] as string;
if (id) {
WAClientStore.instance.watch(id, path);
}
// const id = req.headers["x-debug-id"] as string;
// if (id) {
// WAClientStore.instance.watch(id, path);
// }

if (Packed.checkPacked(path)) {
// check...
Expand Down

0 comments on commit ea72ed5

Please sign in to comment.