 
       if fs.existsSync Paths.application.configs.cloud
         cloudConfig = require Paths.application.configs.cloud
-        res.json cloudConfig
+        res.status(200).json cloudConfig
       else
         error = "Could not find config/cloud.json. Please run $ steroids deploy."
 
-        res.status(404).json {error: error}
+        res.status(404).json { error: error }
 
     helper "get", "/__appgyver/data/config", (req, res) =>
       data = new Data

        appConfig = require Paths.application.configs.app
        res.status(200).json appConfig
      else
        res.status(204).send ''

    @app.get "/__appgyver/cloud_config", (req, res) =>
      res.header "Access-Control-Allow-Origin", "*"

      data = new Data
      data.init().then ->
        res.status(200).send "Success!"
      .catch (error) ->
        res.status(500).json { error: error.message }

    helper "post", "/__appgyver/data/sync", (req, res) =>
      data = new Data
