Skip to content

Commit af29f7d

Browse files
CopilotMrAlders0n
andcommitted
Fix dev deployment paths: copy content directory and use relative imports
Co-authored-by: MrAlders0n <55921894+MrAlders0n@users.noreply.github.com>
1 parent bab7bd1 commit af29f7d

2 files changed

Lines changed: 2 additions & 1 deletion

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")

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)