Good morning friends, does anyone know what are the global variables of node js?
how to make this variable in nodejs? HTTP_HOST
Good morning friends, does anyone know what are the global variables of node js?
how to make this variable in nodejs? HTTP_HOST
All system variables are under $_SERVER
So you can just print it out to check what is available.
To print it just use a Set Value step with the value $_SERVER picked as expression and set the output on
show thanks @George
unfortunately I don’t know how to return the site host
like http: // localhost: 3000 /