Open justinfagnani opened 1 year ago
A live preview of this PR will be available at the URL below and will update on each commit. = The build takes ~5-10 minutes, and will 404 until finished.
https://pr1421---site-khswqo4xea-wl.a.run.app/
Warning Until our Cloud Run project is public, only authorized users can view the above URL. The easiest way to view it authenticated is to run the following proxy command and visit http://localhost:5453
(gcloud beta run services proxy --project=webcomponents-org-test --region=us-west2 --tag=pr1421 --port=5453 site \ & gcloud beta run services proxy --project=webcomponents-org-test --region=us-west2 --tag=pr1421 --port=6453 catalog)
This adds a
/catalog/import
GET endpoint for the import page and POST endpoint for the import operation.The page is extremely basic and just dumps the JSON output of the response to the screen.
Did a few cleanups on route file organization to make things simpler too.