-
Notifications
You must be signed in to change notification settings - Fork 12k
--deploy-url not available on the server in CLI v6 #11426
New issue
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
Comments
I've updated my stack to the next rc version, which includes this deploy to /build-angular, but it appears it isn't working for me yet, despite server deploy-url config is accepted, it appears is not working yet, like the client app could retrieve all assets from same deploy-url config. My dependencies are:
Is there anything else I'm forgeting? Thanks, |
Is it possible to use cdn in angular universal ? |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug Report or Feature Request (mark with an
x
)Area
Versions
macOS High Sierra 10.13.5 (17F77)
Repro steps
See https://github.com/mgol/angular-deploy-url-bug.
The log given by the failure
No log but the browser will trigger 404 requests to invalid asset paths from the server-generated CSS. Once the client app loads, all works fine.
Desired functionality
The server should support the
deployUrl
setting inangular.json
and the--deploy-url
command line param again as in previous CLI versions.CLI 6 only supports
deployUrl
for thebrowser
&devServer
targets.Mention any other details that might be useful
Without
--deploy-url
support on the server, it's impossible to use consistent asset paths between the server and the client if--deploy-url
is used on the client.The text was updated successfully, but these errors were encountered: