Override BaseUri
See original GitHub issueConfirm you’ve already contributed to this project or that you sponsor it
- I confirm I’m a sponsor or a contributor
Version
4.x
Question
Hi,
I always struggle with the several layers of proxies that some of my customers have. Very often, the actual public host name gets lost somewhere. This is an issue if you create absolute URLs.
Therefore I have a configuration value for the public URL. In AttachEndpoints
you calculate the URIs based on the host URL if the configured URLs are not absolute.
Would it be possible to introduce an option to override the base uri? I know that I could override AttachEndpoints method, but I would prefer a more lightweight option.
Issue Analytics
- State:
- Created 7 months ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
How to change the baseURI of a Node in Javascript
How can I change the .baseURI attribute dynamically in Javacsript? [EDIT] According to this SO using base is perfectly legit.
Read more >baseURI property JavaScript - Dottoro Web Reference
The base URL is the location of the current document by default, but it can be overridden by the base tag. Syntax: object.baseURI;....
Read more >How to change metadata baseUri per minted NFT
I can do it for all NFTs, just by changing baseUri (override function tokenURI), but don't know how to do it for individual...
Read more >Node: baseURI property - Web APIs | MDN
The read-only baseURI property of the Node interface returns the absolute base URL of the document containing the node.
Read more >How to Change your BaseUri of your Generated NFT'S
How to Change BaseUri of Your Generated NFT'S In this video, I will teach you how to quickly and easily Change BaseUri of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I totally agree that they should just configure their reverse proxies correctly … but this is the reality I live in.
I will think about it.
Great to hear! 👍🏻