Skip to content

Commit 931b7aa

Browse files
authored
Merge pull request #45 from MrAlders0n/dev
Dev
2 parents 9b43735 + bd4c403 commit 931b7aa

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jobs:
5353
5454
mkdir -p _site/dev
5555
cp -r dev-content/* _site/dev/ 2>/dev/null || true
56+
cp -r dev-content/content _site/dev/ 2>/dev/null || true
5657
5758
# Inject dev badge with date
5859
DEV_DATE=$(date -u +"%Y-%m-%d %H:%M UTC")

content/wardrive.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// - Manual "Send Ping" and Auto mode (interval selectable: 15/30/60s)
66
// - Acquire wake lock during auto mode to keep screen awake
77

8-
import { WebBleConnection } from "/content/mc/index.js"; // your BLE client
8+
import { WebBleConnection } from "./mc/index.js"; // your BLE client
99

1010
// ---- Config ----
1111
const CHANNEL_NAME = "#wardriving"; // change to "#wardrive" if needed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ <h2 id="sessionPingsHeading" class="text-sm font-medium">Session Pings</h2>
200200
<script src="content/config.js"></script>
201201
<script type="module" src="content/wardrive.js"></script>
202202
<script type="module">
203-
import { onLoad } from '/content/wardrive.js';
203+
import { onLoad } from './content/wardrive.js';
204204
onLoad();
205205
</script>
206206
</body>

0 commit comments

Comments
 (0)