Skip to content

Commit 29a2f9b

Browse files
committed
use relative url
1 parent e18876f commit 29a2f9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

static/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@
448448
searchBtn.innerHTML = '<span class="loading"></span>';
449449

450450
try {
451-
const response = await fetch(`http://localhost:3434/api/v1/users/${encodeURIComponent(steamId)}`);
451+
const response = await fetch(`/api/v1/users/${encodeURIComponent(steamId)}`);
452452
if (!response.ok) {
453453
const errorData = await response.json();
454454

0 commit comments

Comments
 (0)