File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ def marker_gl_sprite_2x_png():
145
145
146
146
@app .get ("/0.3/assets/markers/{filename:path}.png" )
147
147
def marker (filename ):
148
- file_path = f"api/markers/{ filename } .png"
148
+ file_path = f"api/assets/ markers/{ filename } .png"
149
149
if not os .path .isfile (file_path ):
150
- file_path = "api/markers/marker-b-0.png"
150
+ file_path = "api/assets/ markers/marker-b-0.png"
151
151
return Response (open (file_path , "rb" ).read ())
Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ export default VueParent.extend({
157
157
158
158
const favicon = document .getElementById (' favicon' ) as HTMLAnchorElement
159
159
favicon .href =
160
- API_URL + ` /api/0.3/markers/marker-l-${this .marker .item }.png `
160
+ API_URL + ` /api/0.3/assets/ markers/marker-l-${this .marker .item }.png `
161
161
}
162
162
)
163
163
},
Original file line number Diff line number Diff line change 368
368
</td >
369
369
<td >
370
370
<img
371
- :src =" api_url + `/api/0.3/markers/marker-l-${res.item}.png`"
371
+ :src =" api_url + `/api/0.3/assets/ markers/marker-l-${res.item}.png`"
372
372
:alt =" res.item"
373
373
/>
374
374
<router-link
@@ -598,7 +598,7 @@ export default VueParent.extend({
598
598
if (res ) {
599
599
title += ' - ' + res .menu .auto
600
600
const favicon = document .getElementById (' favicon' )
601
- this .favicon = API_URL + ` /api/0.3/markers/marker-l-${this .item }.png `
601
+ this .favicon = API_URL + ` /api/0.3/assets/ markers/marker-l-${this .item }.png `
602
602
favicon .href = this .favicon
603
603
}
604
604
You can’t perform that action at this time.
0 commit comments