mirror of
https://git.sr.ht/~roxwize/mipilin
synced 2025-05-10 23:33:07 +00:00
compilation
Signed-off-by: roxwize <rae@roxwize.xyz>
This commit is contained in:
parent
dfd27154cd
commit
a2e568e751
5 changed files with 79 additions and 45 deletions
2
main.ts
2
main.ts
|
@ -137,7 +137,7 @@ object-src 'none'; base-uri 'none';"
|
|||
|
||||
const path = process.env.LISTEN_ON_SOCKET === "true" ? `/run/user/${process.getuid()}/mipilin/mipilin.sock` : 1337;
|
||||
app.listen(path, () => {
|
||||
console.log(`mipilin is now listening on ${path}!! Requests will be printed below. Good Luck`);
|
||||
console.log(`mipilin is now listening on ${typeof path === "number" ? "https://127.0.0.1:" + path + "/" : path}!! Requests will be printed below. Good Luck`);
|
||||
});
|
||||
})();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue