replace connection string in appsetings config in PublicApi

replace connection string in appsetings config in PublicApi