Modify the database config to match 2 environments.
Fix wrong post field.