Skip to content
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

Proxy URL for server #47

Open
gdey opened this issue Jun 19, 2019 · 0 comments
Open

Proxy URL for server #47

gdey opened this issue Jun 19, 2019 · 0 comments

Comments

@gdey
Copy link
Member

gdey commented Jun 19, 2019

#17
One of the urls listed in #17 is the proxy. We are pulling that out of #17 into this issue.

Changes to the config:
Webserver section should now have an additional config called proxy_path which is a string.

[webserver]
   proxy_path='http://localhost:9090/sheets/{{.SheetName}}/files/mgdid/${{.MGDID}}.pdf'

This is what will be filled into the pdf_url field for info.
It will disable the querying the filestores for urls.
This will enable the /sheet/${sheetname}/files/mgdid/${mdgid}.pdf end point on the server.
This end point will query the filestores for an io.Reader used to proxy the file.

@gdey gdey mentioned this issue Jun 19, 2019
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant