Skip to content

Commit

Permalink
Switch back to 5000 as the default and add a note about port 80
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSin- committed Aug 31, 2020
1 parent afb80d7 commit 57172e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/config/no-config/no-config.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
required
style="width: 14vw;"
/>
<br />
<p class="no-config__input-prefix">Port 5000 for OctoPrint, Port 80 for OctoPi</p>
</div>
<label for="accessToken" class="no-config__input-label">API Key:</label>
<input
Expand Down
4 changes: 2 additions & 2 deletions src/app/config/no-config/no-config.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export class NoConfigComponent implements OnInit {
} else {
this.config = {
octoprint: {
url: 'http://localhost:80/api/',
url: 'http://localhost:5000/api/',
accessToken: '',
},
printer: {
Expand Down Expand Up @@ -227,7 +227,7 @@ export class NoConfigComponent implements OnInit {
this.config.octoprint.url = 'http://' + this.octoprintInstance['url'];
this.manualEntry = false;
} else {
this.config.octoprint.url = 'http://localhost:80/api/';
this.config.octoprint.url = 'http://localhost:5000/api/';
this.manualEntry = true;
}
} else if (this.config.octoprint.accessToken == '' && this.page > 2) {
Expand Down

0 comments on commit 57172e1

Please sign in to comment.