clean-config.sh 442 B

12345678910
  1. #!/bin/sh
  2. sed \
  3. -e 's/"database": "Server=.*;User ID=.*;Password=.*;Database=.*"/"database": "Server=localhost;User ID=user;Password=pass;Database=db"/g' \
  4. -e 's/"blogApiEndpoint": ".*"/"blogApiEndpoint": ""/g' \
  5. -e 's/"gitApiEndpoint": ".*"/"gitApiEndpoint": ""/g' \
  6. -e 's/"authApiEndpoint": ".*"/"authApiEndpoint": ""/g' \
  7. -e 's/"authApiKey": ".*"/"authApiKey": ""/g' \
  8. -e 's/"mailboxesApiEndpoint": ".*"/"mailboxesApiEndpoint": ""/g' \
  9. $1