Skip to content
Merged

Dev #45

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:

mkdir -p _site/dev
cp -r dev-content/* _site/dev/ 2>/dev/null || true
cp -r dev-content/content _site/dev/ 2>/dev/null || true

# Inject dev badge with date
DEV_DATE=$(date -u +"%Y-%m-%d %H:%M UTC")
Expand Down
2 changes: 1 addition & 1 deletion content/wardrive.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// - Manual "Send Ping" and Auto mode (interval selectable: 15/30/60s)
// - Acquire wake lock during auto mode to keep screen awake

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

// ---- Config ----
const CHANNEL_NAME = "#wardriving"; // change to "#wardrive" if needed
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ <h2 id="sessionPingsHeading" class="text-sm font-medium">Session Pings</h2>
<script src="content/config.js"></script>
<script type="module" src="content/wardrive.js"></script>
<script type="module">
import { onLoad } from '/content/wardrive.js';
import { onLoad } from './content/wardrive.js';
onLoad();
</script>
</body>
Expand Down