Skip to content

Commit

Permalink
updated some formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaughn-Codes committed Jul 8, 2024
1 parent 2e18dca commit 2257cb8
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions mynasaapp/src/main/resources/static/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"files": {
"main.css": "/static/css/main.610e934b.css",
"main.js": "/static/js/main.5095957e.js",
"main.js": "/static/js/main.d3e4d903.js",
"static/js/453.23e72993.chunk.js": "/static/js/453.23e72993.chunk.js",
"index.html": "/index.html",
"main.610e934b.css.map": "/static/css/main.610e934b.css.map",
"main.5095957e.js.map": "/static/js/main.5095957e.js.map",
"main.d3e4d903.js.map": "/static/js/main.d3e4d903.js.map",
"453.23e72993.chunk.js.map": "/static/js/453.23e72993.chunk.js.map"
},
"entrypoints": [
"static/css/main.610e934b.css",
"static/js/main.5095957e.js"
"static/js/main.d3e4d903.js"
]
}
2 changes: 1 addition & 1 deletion mynasaapp/src/main/resources/static/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>APOD</title><script defer="defer" src="/static/js/main.5095957e.js"></script><link href="/static/css/main.610e934b.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>APOD</title><script defer="defer" src="/static/js/main.d3e4d903.js"></script><link href="/static/css/main.610e934b.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>

This file was deleted.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion nasa-api-app/src/.env.production
Original file line number Diff line number Diff line change
@@ -1 +1 @@
REACT_APP_API_URL=https://your-backend.azurewebsites.net
REACT_APP_API_URL=https://astropod.azurewebsites.net
2 changes: 1 addition & 1 deletion nasa-api-app/src/ApodCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const ApodCard = () => {
useEffect(() => {
const fetchApod = async () => {
try {
const response = await fetch(`${apiURL}/get-apod`);
const response = await fetch('https://astropod.azurewebsites.net/get-apod');
if (!response.ok) {
throw new Error('Network response was not ok');
}
Expand Down
2 changes: 1 addition & 1 deletion nasa-api-app/src/ApodDate.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const ApodDate = () => {
useEffect(() => {
const fetchApod = async () => {
try {
const response = await fetch(`${apiURL}/get-apod-date/${date}`);
const response = await fetch('https://astropod.azurewebsites.net/get-apod-date/${date}');
if (!response.ok) {
throw new Error('Network response was not ok');
}
Expand Down
2 changes: 1 addition & 1 deletion nasa-api-app/src/ButtonAppBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function ButtonAppBar() {
<Button color="inherit" onClick={handleHomeButton}>Home</Button>
</IconButton>
<Typography variant="h6" component="div" sx={{ flexGrow: 1 }}>
Astronomy Photo of the Day
Astronomy Picture of the Day
</Typography>
</Toolbar>
</AppBar>
Expand Down

0 comments on commit 2257cb8

Please sign in to comment.