B
B
BEKa T2022-04-11 21:28:00
Node.js
BEKa T, 2022-04-11 21:28:00

How to enter the address to the main domain in node js?

how to enter the address to the main domain of the site, for example <b>dop</b>.maindomain.com
, how to write this dop in the application on the Internet did not find
something like this?
app.use('dop./', routes.dop); - I use a separate folder with routes

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
goshaLoonny, 2022-04-11
@Bread09

req.subdomains

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question