Skip to content

Commit 8152746

Browse files
committed
added hosting directory in log
1 parent 8f41673 commit 8152746

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/server/host.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ export function staticHost() {
3939
app.use("/static", express.static(path));
4040
let current_ip = getLocalIpAddress();
4141
app.listen(port, () => {
42+
SQLog.info(`Hosting directory ${path}`, true);
4243
SQLog.info(
43-
`Server is ready to host files from http://${current_ip}:${port}/static${path}, query any static file in the browser to see the response`,
44+
`Server is ready to host files from http://${current_ip}:${port}/static/, query any static file in the browser to see the response`,
4445
true
4546
);
4647
});

0 commit comments

Comments
 (0)