We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c28c12a commit 00a1e9bCopy full SHA for 00a1e9b
1 file changed
src/term_ctl.ts
@@ -573,8 +573,10 @@ export class WrappedTerminal extends Terminal {
573
this.writeln("Processes running at time of panic:");
574
this.writeln(process_info || "None.");
575
576
- this.write(NEWLINE);
577
- this.writeln("OS unrecoverable? Visit https://ollieg.codes/recover_fs for options to recover your filesystem.");
+ if (typeof window !== "undefined") {
+ this.write(NEWLINE);
578
+ this.writeln(`OS unrecoverable? Visit ${window.location.origin}/recover_fs for options to recover your filesystem.`);
579
+ }
580
581
this.writeln(ANSI.STYLE.reset_all);
582
}
0 commit comments