Connecting Strapi with a static website on Digital Ocean

I’m trying to connect a static website, written in vanilla JS, CSS & HTML, with Strapi on Digital Ocean.

It all works fine on my localhost with an api such as “response = await fetch(“http://localhost:1337/api/genres?sort[0]=name&fields[0]=name”, { method: “GET” });” but what is the equivalent command on the Digital Ocean app platform?

I’ve created 2 apps, one for Strapi and one for my website, and both of them work independently, but how do I connect my website app with the Strapi app? What do I point my static website to?

I’ve been beating my head against the wall on this for several days now - there’s just some concept I’m not understanding…