Skip to content

Commit edaa76f

Browse files
committed
Fix path for pmtiles
1 parent 1ae10ba commit edaa76f

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ jobs:
2424
build:
2525
runs-on: ubuntu-latest
2626
steps:
27-
- name: Log env
28-
run: echo $DEPLOY_PATH
29-
3027
- name: Checkout code
3128
uses: actions/checkout@v4
3229

src/lib/components/map/config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { base } from '$app/paths'
12
import type { StyleSpecification } from 'mapbox-gl'
23

34
export const bounds: [number, number, number, number] = [-106.64569497, 17.63478139, -64.44293322, 40.63868947]
@@ -7,7 +8,7 @@ export const style: StyleSpecification = {
78
sources: {
89
boundaries: {
910
type: 'pmtiles',
10-
url: '/boundaries.pmtiles',
11+
url: `${base}/boundaries.pmtiles`,
1112
},
1213
geojson: {
1314
type: 'geojson',

0 commit comments

Comments
 (0)