Timeline for How do I get the domain originating the request in express.js?
Current License: CC BY-SA 4.0
13 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 11 at 10:38 | answer | added | Adi Cohen | timeline score: 0 | |
| Dec 4, 2022 at 18:55 | answer | added | hoogw | timeline score: 7 | |
| Jul 1, 2022 at 7:45 | comment | added | Stijn de Witt | "I need to know if the API was called by somesite.example". Note that the domain example.com is reserved specifically for use in examples: iana.org/domains/reserved | |
| Jun 19, 2022 at 9:56 | history | edited | Stephen Ostermiller♦ | CC BY-SA 4.0 |
formatting, spelling, use example domain, code format example URL
|
| Jun 10, 2020 at 18:37 | answer | added | molagbal | timeline score: 6 | |
| Jan 29, 2019 at 16:29 | answer | added | DiegoRBaquero | timeline score: 18 | |
| Nov 10, 2016 at 10:27 | answer | added | Michiel | timeline score: 59 | |
| Mar 8, 2015 at 3:15 | comment | added | Adam Fowler | I get this warning: express deprecated req.host: Use req.hostname instead index.js:20:8 | |
| May 16, 2014 at 19:13 | comment | added | Eat at Joes |
node.js: req.headers["x-forwarded-for"] || req.connection.remoteAddress x-forwarded-for would cover your bases behind a proxy, load balancer...
|
|
| Aug 28, 2013 at 22:59 | vote | accept | Nicola Peluchetti | ||
| Aug 28, 2013 at 21:46 | answer | added | Jonathan Lonowski | timeline score: 221 | |
| Aug 28, 2013 at 21:45 | comment | added | dc5 |
try: req.host or req.get('host') expresses docs
|
|
| Aug 28, 2013 at 21:41 | history | asked | Nicola Peluchetti | CC BY-SA 3.0 |