Skip to content

Commit

Permalink
Update port for planet api
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Feb 23, 2024
1 parent e8ca5ea commit 49ac91b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compose/planet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ services:
dockerfile: Dockerfile
ports:
- "8081:80"
- "3000:3000"
- "8082:3000"
volumes:
# Serve minute replication files
- ../data/replication-job-data:/usr/share/nginx/html/server/static-files/replication/minute
Expand Down
2 changes: 1 addition & 1 deletion images/planet-files/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<script>
// const API_FILES = "http://localhost:3000";
const HOST_NAME= window.location.hostname
const API_FILES = `http://${HOST_NAME}:3000`;
const API_FILES = `http://${HOST_NAME}:8082`;
document.title = HOST_NAME;
async function fetchFiles(directory) {
const response = await fetch(`${API_FILES}/${directory}`);
Expand Down

0 comments on commit 49ac91b

Please sign in to comment.