Let client side local settings  out to local configu file

We use localhost:3000 to access ads in development environment, and
We use localhost/ads to access ads in production environment.

So, I need to let local settings out to git repository.