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

Usage help! #1

Open
hazio opened this issue Feb 20, 2019 · 2 comments
Open

Usage help! #1

hazio opened this issue Feb 20, 2019 · 2 comments
Assignees
Labels
good first issue Good for newcomers question Further information is requested

Comments

@hazio
Copy link

hazio commented Feb 20, 2019

Hello!

How can I use the prerenderer after deploying it?

endpoints:
GET - https://xxxxxxxx.execute-api.eu-north-1.amazonaws.com/prod/{proxy+}

What should I put to {proxy+}?

EDIT: figured that out by deploying API. Now I get {"message":"Missing Authentication Token"}. How to overcome that?

@mooyoul
Copy link
Owner

mooyoul commented Mar 12, 2019

Just append URL to your endpoint.
For example: https://xxxxx.execute-api.region.amazonaws.com/prod/https://my-website.com/pages/foo/baz?query=string

Anyway, I've found current implementation may throw Timeout or Internal Server Error. I'm working on refactoring entire source code to provide easier setup & improve stability (most important!). It will take few days to complete (expecting up to 5 days). New version will provide CLI based configurator too.

Stay tuned!

@mooyoul mooyoul added good first issue Good for newcomers question Further information is requested labels Mar 12, 2019
@mooyoul mooyoul self-assigned this Mar 12, 2019
@walshhub
Copy link

walshhub commented Sep 11, 2020

Hi @mooyoul

Did you end up creating a refactored version? I'm struggling to get this working with node@12.x as the runtime (needed for lambda nowadays). It deploys, however, trying out a url on my deployed version (e.g. https://xxxxx.amazonaws.com/prod/https://google.com) I get 'bad gateway'. Currently working on debugging, however I have nothing more detailed to share yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants