clean-config.sh 239 B

1234567
  1. #!/bin/sh
  2. sed \
  3. -e 's/"database": "Server=.*;Database=.*;Uid=.*;Pwd=.*"/"database": "Server=localhost;Database=db;Uid=user;Pwd=pass"/g' \
  4. -e 's/"authEndpoint": ".*"/"authEndpoint": ""/g' \
  5. -e 's/"authApiKey": ".*"/"authApiKey": ""/g' \
  6. $1