How does nodejs determine the client's browser type? Think of Firefox or chrom
You can judge it in the request object. This is what the useragent header does
As mentioned above userAgent can judgeBut, be careful! Useragent can be forged. Users like Chrome can change ua at will. You need to pay attention to this.
You can judge it in the request object. This is what the useragent header does
As mentioned above userAgent can judge
But, be careful! Useragent can be forged. Users like Chrome can change ua at will. You need to pay attention to this.