Tidy up config
This commit is contained in:
parent
79c17f75cd
commit
1329683f58
3 changed files with 1 additions and 6 deletions
|
@ -6,9 +6,6 @@
|
||||||
"Microsoft": "Information"
|
"Microsoft": "Information"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ConnectionStrings": {
|
|
||||||
"database": "Server=localhost;User ID=user;Password=pass;Database=db"
|
|
||||||
},
|
|
||||||
"blogApiEndpoint": "",
|
"blogApiEndpoint": "",
|
||||||
"gitApiEndpoint": "",
|
"gitApiEndpoint": "",
|
||||||
"authApiEndpoint": ""
|
"authApiEndpoint": ""
|
||||||
|
|
|
@ -4,9 +4,6 @@
|
||||||
"Default": "Warning"
|
"Default": "Warning"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ConnectionStrings": {
|
|
||||||
"database": "<DatabaseConnectionString>"
|
|
||||||
},
|
|
||||||
"blogApiEndpoint": "<BlogEndpoint>",
|
"blogApiEndpoint": "<BlogEndpoint>",
|
||||||
"gitApiEndpoint": "<GitEndpoint>",
|
"gitApiEndpoint": "<GitEndpoint>",
|
||||||
"authApiEndpoint": "<AuthEndpoint>",
|
"authApiEndpoint": "<AuthEndpoint>",
|
||||||
|
|
|
@ -4,4 +4,5 @@ sed \
|
||||||
-e 's/"database": "Server=.*;User ID=.*;Password=.*;Database=.*"/"database": "Server=localhost;User ID=user;Password=pass;Database=db"/g' \
|
-e 's/"database": "Server=.*;User ID=.*;Password=.*;Database=.*"/"database": "Server=localhost;User ID=user;Password=pass;Database=db"/g' \
|
||||||
-e 's/"blogApiEndpoint": ".*"/"blogApiEndpoint": ""/g' \
|
-e 's/"blogApiEndpoint": ".*"/"blogApiEndpoint": ""/g' \
|
||||||
-e 's/"gitApiEndpoint": ".*"/"gitApiEndpoint": ""/g' \
|
-e 's/"gitApiEndpoint": ".*"/"gitApiEndpoint": ""/g' \
|
||||||
|
-e 's/"authApiEndpoint": ".*"/"authApiEndpoint": ""/g' \
|
||||||
$1
|
$1
|
Loading…
Add table
Add a link
Reference in a new issue