diff options
Diffstat (limited to 'src/frontend/views/RepositoryLog.vue')
-rw-r--r-- | src/frontend/views/RepositoryLog.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/views/RepositoryLog.vue b/src/frontend/views/RepositoryLog.vue index 399fc78..42a9780 100644 --- a/src/frontend/views/RepositoryLog.vue +++ b/src/frontend/views/RepositoryLog.vue @@ -75,7 +75,7 @@ export default { watch(() => { - fetch(`http://localhost:1337/api/v1/repos/${props.repository}/log`) + fetch(`${window.location.protocol}//${window.location.host}/api/v1/repos/${props.repository}/log`) .then((res) => res.json()) .then((data) => { state.commits = data["data"]; |