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():
145145
146146@app .get ("/0.3/assets/markers/{filename:path}.png" )
147147def marker (filename ):
148- file_path = f"api/markers/{ filename } .png"
148+ file_path = f"api/assets/ markers/{ filename } .png"
149149 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"
151151 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({
157157
158158 const favicon = document .getElementById (' favicon' ) as HTMLAnchorElement
159159 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 `
161161 }
162162 )
163163 },
Original file line number Diff line number Diff line change 368368 </td >
369369 <td >
370370 <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`"
372372 :alt =" res.item"
373373 />
374374 <router-link
@@ -598,7 +598,7 @@ export default VueParent.extend({
598598 if (res ) {
599599 title += ' - ' + res .menu .auto
600600 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 `
602602 favicon .href = this .favicon
603603 }
604604
You can’t perform that action at this time.
0 commit comments