Fix static resources path when no prefix on the frontend/public URLs