Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

nodejs redirect to url

response.writeHead(301,
  {Location: 'http://whateverhostthiswillbe:8675/'+newRoom}
);
response.end();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #nodejs #redirect #url
ADD COMMENT
Topic
Name
1+1 =