Invalid URL with relative uri in httpLink

We’re attempting to set our uri to be a relative url a la

const link = new HttpLink({
	uri: '/api/graphql',
	credentials: 'include'

I’d love to make this a http://localhost:3000/api/graphql, but unfortunately, Svelte Kit does not pass along cookie headers if it thinks the fetch is on a different origin. The only way to fix this on the Svelte Kit side of things is to use a relative url in the fetch call, however Apollo does not like that. Any thoughts or are we out of luck here getting these two systems to play nice.