There is no difference between these 2 URLs.
1. This is the absolute URL so the resource resolution will happen from /libs
2. This is the relative URL, so the resource resolution will happen from /apps and if no resource available then it will go to /libs.
Link to refer:
If nothing mentioned it will search under /apps followed by /libs.
It's always recommended to keep it relative i.e., without /apps or /libs so that if required we can add our own implementation under /apps and it will be picked at runtime without any code change.