We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi i´m using uniserver as the web server so I create a vhos named linda2.com
so my environment.prod.ts is:
export const environment = { production: true, wpBase: '//linda2.com/wp-json/wp/v2/' };
and run the build command as ng build --prod --base-href /wp-content/themes/wpng2/dist/
ng build --prod --base-href /wp-content/themes/wpng2/dist/
and everything works fine, but my home url on the browser change to http://linda2.com/wp-content/themes/wpng2/dist/ and I and want to ask, if its possible to make it work having the home url as: http://linda2.com
The text was updated successfully, but these errors were encountered:
yup, absolutely. Try running ng build --prod --deploy-url="/wp-content/themes/{THEME_DIRECTORY_NAME}/dist/"
ng build --prod --deploy-url="/wp-content/themes/{THEME_DIRECTORY_NAME}/dist/"
Sorry, something went wrong.
thanks :)
How to set en variables local codebase wpBase: '//localhost/wp-json/wp/v2/'
wpBase: '//localhost/wp-json/wp/v2/'
is not giving result
No branches or pull requests
Hi i´m using uniserver as the web server so I create a vhos named linda2.com
so my environment.prod.ts is:
and run the build command as
ng build --prod --base-href /wp-content/themes/wpng2/dist/
and everything works fine, but my home url on the browser change to http://linda2.com/wp-content/themes/wpng2/dist/ and I and want to ask, if its possible to make it work having the home url as: http://linda2.com
The text was updated successfully, but these errors were encountered: