To consider static-url property for static file path

Hi there,

I'm using `static-url` property to serve static files. but it's still not considered in some part.
so I made common function to serve static files and considering `static-url` property.

and it works in my project well. :bow:  please check it. thanks