daslfkj
This commit is contained in:
1 parent
ca054797b5
commit
dd60be6d2c
1 file changed
-6
@@ -17,12 +17,6 @@ function readWsDomain() {
|
||||
return process.env.WS_DOMAIN || "localhost:8080";
|
||||
}
|
||||
|
||||
if (isDev) {
|
||||
const liveReloadServer = livereload.createServer();
|
||||
liveReloadServer.watch(path.join(__dirname, "public"));
|
||||
app.use(connectLivereload());
|
||||
}
|
||||
|
||||
app.use(express.static("public"));
|
||||
|
||||
app.get("/ws-domain", (_req, res) => {
|
||||
|
||||
Reference in new issue
Block a user