angular-gulp-seed
angular-gulp-seed copied to clipboard
Use a proxy instead of the localhost URL
I've tried altering the gulp file to use a proxy instead of the baseDir and server options, but I haven't had any luck. Can you provide direction on how to use a proxy with this seed project?
Have you tried to use the following structure on your URL?
http://username:password@proxyurl:proxyport
Why do you exactly need this?
ps: It has been a while since I did my last commit on this repo, probably you'll have to update the dependencies.
I need it because I'm using a Drupal backend that lives on a certain local URL (local.dev/drupal). I need the URL's to match so I can avoid CORS issues (Angular - local.dev).
Without using some kind of proxy I'll have to build the project every time into a separate directory and use a vhost with that domain name (defeating the whole purpose of BrowserSync).
Does that make sense? Thanks for the response and the project.