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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug(express-engine): relative URLs are not converted to absolute URLs #1669
Comments
If you want to check correctness of work this project without SSR: From first terminal: ng run test-universal-issue:server
node dist/test-universal-issue/server/main.js From second terminal: yarn start Then go to the browser with http://localhost:4200/heroes |
The same problem with this. Maybe you already have a workaround? |
im experiencing the same problem, we came up with two work a rounds:
|
This should have been fixed in version 10 via angular/angular#37071 |
Thanks @alan-agius4 that's a good news. |
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
What modules are related to this issue?
Is this a regression?
I work only with current 9.1.0 version of
@nguniversal/express-engine
.Description
According to the documentation,
@nguniversal/express-engine
should take care of converting relative URLs to absolute ones. In this example need converting/api/heroes
tohttp://localhost:4000/api/heroes
, but it doesn't seem to be happening.馃敩 Minimal Reproduction
From first terminal:
git clone git@github.com:KostyaTretyak/example-universal-issue.git cd example-universal-issue yarn yarn dev:ssr
From second terminal:
馃敟 Error
This error leads to the
send()
function, and if we printthis._url
in it, we will see relative URL.馃實 Environment
The text was updated successfully, but these errors were encountered: