Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.69 KB

File metadata and controls

33 lines (21 loc) · 1.69 KB

Dairi

Dairi is a web service (that you take care of) that acts as a CORS-bypass proxy thingie for Oshi web app.
It allows the app to make cross-origin requests without being blocked by the browser's same-origin policy.

Setup Instructions

To set up Dairi with render.com, follow these steps:

  1. Sign up for an account on render.com if you haven't already

  2. Create a new web service on render.com and choose 'Public Git Repository'
    Screenshot

  3. Paste Dairi's link under the 'Public Git Repository' field
    Screenshot

  4. Set upp all properties as shown in the image below, and choose your own service name
    Screenshot

  5. Select the 'Free' tier for 750h of uptime each month, which is just about enough for us (31.25 days)
    Screenshot

  6. Click 'Deploy Web Service' and grab the URL of the service once it's deployed
    Screenshot
    Screenshot

  7. In the Oshi web app, paste the proxy endpoint address to use your new service image

  8. Do some testing to ensure that you can now make cross-origin requests

That's it! You've successfully set up a CORS-bypass proxy for Oshi web using render.com