From b92e89a7c4eee4a42f017c4db10eac5d2ee2f838 Mon Sep 17 00:00:00 2001 From: Ladd Date: Mon, 5 Jan 2026 01:51:57 -0600 Subject: [PATCH 1/2] Automatically append [Dev] to title on dev site --- simulator.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/simulator.js b/simulator.js index 7c54673..e85551e 100644 --- a/simulator.js +++ b/simulator.js @@ -48,6 +48,11 @@ export class Sim { const div = document.getElementById(this.divId); this.div = div; + const url = new URL(window.location.href); + if (url.host === 'gravity.dev.laddhoffman.com') { + document.title += ' [Dev]'; + } + this.options = new Options(this, simOptions); this.display = new Display(this); this.system = new System(this); From 76de89ce7e29a2533ba2a5ece193fa44ed309866 Mon Sep 17 00:00:00 2001 From: Ladd Date: Mon, 5 Jan 2026 02:02:32 -0600 Subject: [PATCH 2/2] attempting to show favicon --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index f8d8928..e44f78b 100644 --- a/index.html +++ b/index.html @@ -4,6 +4,7 @@ Gravity Simulator +