Skip to content

Commit 205fd2e

Browse files
committed
fix: remove vite spa link log when HEAVY_DUBUG is on
AdminForth/1744/please-wipe-out-this-console-l
1 parent d602c71 commit 205fd2e

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

adminforth/modules/codeInjector.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1240,7 +1240,6 @@ class CodeInjector implements ICodeInjector {
12401240
// parse port from message " ➜ Local: http://localhost:xyz/"
12411241
const s = stripAnsiCodes(data.toString());
12421242

1243-
process.env.HEAVY_DEBUG && console.log(`🪲 devServer stdout ➜ (port detect): ${s}`);
12441243
const portMatch = s.match(/.+?http:\/\/.+?:(\d+).+?/m);
12451244
if (portMatch) {
12461245
this.devServerPort = parseInt(portMatch[1]);

0 commit comments

Comments
 (0)