Skip to content

Attendee pdf URL is not working #6364

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
liveHarshit opened this issue Aug 14, 2019 · 6 comments
Closed

Attendee pdf URL is not working #6364

liveHarshit opened this issue Aug 14, 2019 · 6 comments

Comments

@prateekj117
Copy link
Member

@liveHarshit Looking into it.

@prateekj117
Copy link
Member

@iamareebjamal The url generated has the correct path. I think it's because flask does not simply serve static files with path url specified. Am I right?

@iamareebjamal
Copy link
Member

That statement makes no sense to me. See how it is being shown on frontend and specify here

@mrsaicharan1 Please take a look

@prateekj117
Copy link
Member

@iamareebjamal so say I want to serve a pdf whose path url is: (root project directory)/abc/abc.pdf.
So if we start the server, and go to localhost:5000/abc/abc.pdf, will we get that pdf on browser? If not, I think the pdf rendering is working that way. It has the directory path url after localhost:5000

@mrsaicharan1
Copy link
Member

@prateekj117 The files would be served over a route which handles security & other aspects. Check app/api/helpers/auth.py

@mariobehling
Copy link
Member

Implementation has changed. Therefore closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants