angular/packages/platform-server/src
Adam d37049a2a2 feat(platform-server): add option for absolute URL HTTP support (#37539)
In version 10.0.0-next.8, we introduced absolute URL support for
server-based HTTP requests, so long as the fully-resolved URL was
provided in the initial config. However, doing so represents a
breaking change for users who already have their own interceptors
to model this functionality, since our logic executes before all
interceptors fire on a request. See original PR #37071.

Therefore, we introduce a flag to make this change consistent with
v9 behavior, allowing users to opt in to this new behavior. This
commit also fixes two issues with the previous implementation:
1. if the server was initiated with a relative URL, the absolute
URL construction would fail because needed components were empty
2. if the user's absolute URL was on a port, the port would not
be included

PR Close #37539
2020-06-25 14:26:09 -07:00
..
domino_adapter.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
http.ts feat(platform-server): add option for absolute URL HTTP support (#37539) 2020-06-25 14:26:09 -07:00
location.ts fix(platform-server): correctly handle absolute relative URLs (#37341) 2020-06-09 08:27:00 -07:00
platform-server.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
platform_state.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
private_export.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
server.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
server_events.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
server_renderer.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
styles_host.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
tokens.ts feat(platform-server): add option for absolute URL HTTP support (#37539) 2020-06-25 14:26:09 -07:00
transfer_state.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
utils.ts docs(platform-server): fix renderModule usage guidance with Ivy (#37296) 2020-05-28 16:07:32 -04:00
version.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00