Skip to content

Commit

Permalink
feat(proxy): update proxy config argument
Browse files Browse the repository at this point in the history
Changes the flag for the proxy config in the `serve:json-server` script so that it no longer uses
the deprecated version of the flag.

Implements #9
  • Loading branch information
bniedermeyer committed Aug 23, 2021
1 parent 377e917 commit 01ed6e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ng-add/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function addPackageJsonScript(options: Schema): Rule {
);
const serveScript = `npm run json-server & ng serve ${
options.project
} --proxyConfig ${proxyPath}`;
} --proxy-config ${proxyPath}`;
try {
const packageJsonFile = tree.read(`package.json`);
if (packageJsonFile) {
Expand Down

0 comments on commit 01ed6e7

Please sign in to comment.