Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

feat(modules): pass in absolute URL as default for view rendering#897

Merged
CaerusKaru merged 2 commits intomasterfrom
url
Dec 25, 2018
Merged

feat(modules): pass in absolute URL as default for view rendering#897
CaerusKaru merged 2 commits intomasterfrom
url

Conversation

@CaerusKaru
Copy link
Copy Markdown
Member

  • Add the absolute URL to view generation to allow for access through
    the document's native location object
  • Future PR will allow user to override the default url

NOTE: This will act as a precursor to correct absolute path resolution for HttpClient

@Toxicable
Copy link
Copy Markdown

I think we should hold off on this till we have a concrete solution for how HttpClient will injest the base url

@CaerusKaru
Copy link
Copy Markdown
Member Author

CaerusKaru commented Feb 17, 2018

@Toxicable I thought about that, but I think we can consider this a separate issue. Is there ever a case we want the URL passed in to not be absolute on the server? (at least by default)

@Toxicable
Copy link
Copy Markdown

Blocked on deciding what we should do in core first

* Add the absolute URL to view generation to allow for access through
  the document's native location object
* Future PR will allow user to override the default url
Comment thread modules/express-engine/src/main.ts Outdated
Comment thread modules/hapi-engine/src/main.ts Outdated
Comment thread modules/aspnetcore-engine/src/main.ts
@CaerusKaru CaerusKaru added action: merge PR author is ready for this to merge and removed action: review labels Dec 25, 2018
@CaerusKaru CaerusKaru merged commit 77e298a into master Dec 25, 2018
@CaerusKaru CaerusKaru deleted the url branch December 25, 2018 06:12
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge PR author is ready for this to merge area: express-engine target: minor target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants