Skip to content

Commit

Permalink
Merge branch 'master' of github.com:motis-project/osr
Browse files Browse the repository at this point in the history
  • Loading branch information
felixguendling committed Jul 31, 2024
2 parents 44cc4ca + 3906cd1 commit 5779604
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@
}

const getRoute = async () => {
const response = await fetch(`${window.origin}/api/route`, {
const response = await fetch('api/route', {
method: 'POST',
mode: 'cors',
headers: {
Expand Down Expand Up @@ -544,7 +544,7 @@
};

const getGraph = async (bounds) => {
const response = await fetch(`${window.origin}/api/graph`, {
const response = await fetch('api/graph', {
method: 'POST',
mode: 'cors',
headers: {
Expand All @@ -560,7 +560,7 @@
};

const getLevels = async (bounds) => {
const response = await fetch(`${window.origin}/api/levels`, {
const response = await fetch('api/levels', {
method: 'POST',
mode: 'cors',
headers: {
Expand Down

0 comments on commit 5779604

Please sign in to comment.