fix last row: if u need download - set Content-Disposition, if u need preview - set Content-Type: application/pdfby titovanton - How to...
My problem was in the nxing settings: i was needed to proxy meteor with nginx, but i did not. So now it looks like: server { listen %IP%:8080; server_name localhost; charset utf-8; client_max_body_size 75M; location /internal { internal; alias /webapp/.internal; break; } location / { proxy_pass http://127.0.0.by titovanton - How to...
yo guys, I'm searching for solution of my problem, mby some one has any clues about it. I need to show files preview (.pdf) to a users, who have access to that.: Picker.route('/preview/:_id', function(params, req, res, next) { console.log(params._id); // checking for access //... //... // res.setHeader('Content-Type', 'application/pdf'); // res.setHeader('Content-Disposition',by titovanton - How to...
![]() |
![]() |
![]() |
![]() |
![]() |