From 2d3aa1b76018cc3eae8ceb02bb6c9018f0c1371e Mon Sep 17 00:00:00 2001 From: jcwimer Date: Wed, 10 Feb 2016 17:46:16 +0000 Subject: [PATCH] Set up api for development --- frontend/app/pages/index.us | 1 - frontend/config/application.js | 14 +++++++------- frontend/package.json | 3 +-- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/frontend/app/pages/index.us b/frontend/app/pages/index.us index 365a292..ee2bc1d 100644 --- a/frontend/app/pages/index.us +++ b/frontend/app/pages/index.us @@ -7,6 +7,5 @@ -

Test

diff --git a/frontend/config/application.js b/frontend/config/application.js index 43bbe4e..ef41e20 100644 --- a/frontend/config/application.js +++ b/frontend/config/application.js @@ -22,13 +22,13 @@ module.exports = function(lineman) { // requests for paths that don't match a static asset in ./generated will be forwarded to // whatever service might be running on the specified port. // - // server: { - // apiProxy: { - // enabled: true, - // host: 'localhost', - // port: 3000 - // } - // }, + server: { + apiProxy: { + enabled: true, + host: 'localhost', + port: 8080 + } + }, // Sass // diff --git a/frontend/package.json b/frontend/package.json index b58aa98..2d7f4c0 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -5,8 +5,7 @@ "private": true, "author": "John Doe", "devDependencies": { - "lineman": "~0.36.6", - "lineman-rails": "^0.1.0" + "lineman": "~0.36.6" }, "scripts": { "start": "lineman run",