diff --git a/client/gulp/config.js b/client/gulp/config.js index 481c1b5f..a142e407 100644 --- a/client/gulp/config.js +++ b/client/gulp/config.js @@ -5,22 +5,17 @@ module.exports = { 'serverport': 3000, 'scripts': { - 'src': './src/**/*.js', + 'src': './src/*.js', 'dest': './build/js/' }, - 'phpserver': { - 'base': './src/server/', - 'port': 8000 - }, - 'images': { 'src': './src/assets/images/**/*.{jpeg,jpg,png}', 'dest': './build/images/' }, 'styles': { - 'src': './src/**/*.scss', + 'src': './src/*.scss', 'dest': './build/css/' }, diff --git a/client/gulp/tasks/serverphp.js b/client/gulp/tasks/serverphp.js deleted file mode 100644 index ea36f95f..00000000 --- a/client/gulp/tasks/serverphp.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var config = require('../config'); -var gulp = require('gulp'); -var connect = require('gulp-connect-php'); - -gulp.task('serverphp', function() { - //connect.server(config.phpserver); -}); diff --git a/client/src/config.js b/client/src/config.js new file mode 100644 index 00000000..e206592e --- /dev/null +++ b/client/src/config.js @@ -0,0 +1,2 @@ +root = 'http://localhost:3000'; +apiRoot = 'http://localhost:3000/api'; diff --git a/client/src/index.html b/client/src/index.html index d6e6adbb..a398c80c 100644 --- a/client/src/index.html +++ b/client/src/index.html @@ -14,6 +14,7 @@
+