- Where Developers Learn, Share, & Build Careers


I have a node. Js is an HTTP application and I am correcting GET requests. I though foo.js? _param = 1234 can not respond properly with requests

Edit:

I am using service files in this way:

  app.get ('/ *', function (rick, ridge) {res.sendfile (__ application + req.url, {root: __root});});   

__The root path to the root application is.

Use request.url , this /foo.js ? Ippar = 123 will look like.

Then use ('url') to use.

See for details.

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -