I want to save my assets in a minio server which is a self-hosted S3.
My problem is this. I want to link to my assets like normal in my local PC and do jekyll serve to see my website. for example I link to my stylesheets like this:
<link rel="stylesheet" href="/assets/css/skeleton.css">
then I transfer the stylesheet to minio server and its link would be somthing like
And I need to link to this stylesheet in my code in production mode. How can I achieve this ?
So simply in my local I need to link to my assets relatively. but for production, I need to create absolute links by adding minio bucket url endpoint.