website/clean-config.sh

7 lines
No EOL
247 B
Bash

#!/bin/sh
sed \
-e 's/"database": "Server=.*;User ID=.*;Password=.*;Database=.*"/"database": "Server=localhost;User ID=user;Password=pass;Database=db"/g' \
-e 's/"gitDomain": ".*"/"gitDomain": ""/g' \
-e 's/"gitToken": ".*"/"gitToken": ""/g' \
$1