URL : BaseUrl

Hello everyone,
I beg to ask you for help.
For site development, I changed the value of BaseURL in config.toml to: localhost: 1313. But when deploying on Netlify, change the localhost: 1313 is not done and suddenly the css files are not recognized.
There is a way to do this automatically to switch between development mode and production mode? Thank you

The short story here:

Use the production value in config.toml (i.e. the URL to your site when deployed in Netlify). And not localhost.