Commit 1b84784dec47b98b0d2f29836f5387f3213f4d4b
1 parent
e0f86132
Exists in
master
and in
1 other branch
Disable proxy for myprofile in dev environment
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
gulp/server.js
| ... | ... | @@ -27,12 +27,11 @@ function browserSyncInit(baseDir, browser) { |
| 27 | 27 | }; |
| 28 | 28 | |
| 29 | 29 | server.middleware = [proxyMiddleware('http://localhost:3000/api', {changeOrigin:true}), |
| 30 | - proxyMiddleware('http://localhost:3000/myprofile', {changeOrigin:true}), | |
| 30 | + // proxyMiddleware('http://localhost:3000/myprofile', {changeOrigin:true}), | |
| 31 | 31 | proxyMiddleware('http://localhost:3000/designs', {changeOrigin:true}), |
| 32 | 32 | proxyMiddleware('http://localhost:3000/image_uploads', {changeOrigin:true}), |
| 33 | 33 | proxyMiddleware('http://localhost:3000/account/logout', {changeOrigin:true}), |
| 34 | 34 | proxyMiddleware('http://localhost:3000/images', {changeOrigin:true})]; |
| 35 | - // proxyMiddleware('http://localhost:3000/assets', {changeOrigin:true})]; | |
| 36 | 35 | |
| 37 | 36 | browserSync.instance = browserSync.init({ |
| 38 | 37 | startPath: '/', | ... | ... |