Use public dir for static assets
This commit is contained in:
parent
5ced6774ed
commit
47f1fce82d
4
main.js
4
main.js
|
@ -33,7 +33,7 @@ const styles = {
|
|||
anchor: [0.5, 46],
|
||||
anchorXUnits: 'fraction',
|
||||
anchorYUnits: 'pixels',
|
||||
src: 'data/icon.png',
|
||||
src: '/img/icon.png',
|
||||
}),
|
||||
}),
|
||||
iconVan: new Style({
|
||||
|
@ -41,7 +41,7 @@ const styles = {
|
|||
anchor: [0.5, 16],
|
||||
anchorXUnits: 'fraction',
|
||||
anchorYUnits: 'pixels',
|
||||
src: 'data/van-100px.png',
|
||||
src: '/img/van-100px.png',
|
||||
}),
|
||||
}),
|
||||
circleBlack: new Style({
|
||||
|
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 8.2 KiB |
Loading…
Reference in New Issue