Skip to content

Commit 3ff668e

Browse files
committed
test
1 parent 54fefc5 commit 3ff668e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎.github/workflows/deploy.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Deploy To EC2
33
on:
44
push:
55
branches:
6-
- main
6+
- test
77

88
jobs:
99
deploy:

‎src/main/resources/static/js/home.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//const baseURL = "https://d3sycde725g6va.cloudfront.net"
2-
const baseURL = "http://localhost:8080"
2+
//const baseURL = "http://localhost:8080"
33
let allMatches = [];
44
let isFetching = false;
55

@@ -11,7 +11,7 @@ function fetchMatches(date) {
1111

1212
const region = document.getElementById("region").value;
1313

14-
const url = `${baseURL}/matches/${encodeURIComponent(date)}?region=${encodeURIComponent(region)}`;
14+
const url = `/matches/${encodeURIComponent(date)}?region=${encodeURIComponent(region)}`;
1515

1616
fetch(url)
1717
.then(response => {

0 commit comments

Comments
 (0)