Skip to content

Commit

Permalink
Connect App to php server with secure protocol.
Browse files Browse the repository at this point in the history
  • Loading branch information
clodomir vianna da silva neto committed Apr 22, 2024
1 parent 1d88420 commit 90642ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ app.component('specs-tab', {
tle_string(new_value, old_value){

this.feedTLEFields();
// this.fetchSatbotInfo();
this.fetchSatbotInfo();
this.fetchPredictedPath();
}

Expand Down Expand Up @@ -225,7 +225,7 @@ app.component('specs-tab', {
// console.log(encodeURI(tle_line2));

// Request computed orbit based on the TLE info.
API_URL = "https://ec2-34-222-130-73.us-west-2.compute.amazonaws.com/skyVue-php/" + "?tle_line1=" + tle_line1 + "&tle_line2=" + tle_line2;
API_URL = "https://easyfermi.com/computeOrbit/" + "?tle_line1=" + tle_line1 + "&tle_line2=" + tle_line2;
fetch(API_URL)
.then((response) => response.json())
.then((data) => {
Expand Down
4 changes: 2 additions & 2 deletions components/header/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ app.component('header-vue', {
watch: {
user_location(new_value, old_value) {
if (new_value.length == 3) {
// this.fetchSatellitesCrossingUserSky();
this.fetchSatellitesCrossingUserSky();
}
},
active_satellites(new_value, old_value){
Expand Down Expand Up @@ -111,7 +111,7 @@ app.component('header-vue', {
},
},
mounted() {
// this.fetchActiveSatellites();
this.fetchActiveSatellites();
this.fetchDebris();
}

Expand Down

0 comments on commit 90642ec

Please sign in to comment.