recherche

Maison  >  Questions et réponses  >  le corps du texte

node.js - nodejs中req._parsedUrl.pathname问题

在单步调试时,可以在控制台中通过req._parsedUrl.pathname输出请求的url地址,但是将代码写入程序中却运行不了。
显示: if(‌‌req._parsedUrl.pathname!='/validName'){SyntaxError: Unexpected token ILLEGAL这样的错误,大家有遇到这样的问题吗?

巴扎黑巴扎黑2863 Il y a quelques jours793

répondre à tous(0)je répondrai

Pas de réponse
  • Annulerrépondre