Skip to content

Commit 91aef62

Browse files
committed
fix(terminal,data-provider): replace 127.0.0.1 with localhost in URLs
1 parent 3398651 commit 91aef62

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/asc-web/console/js/presentation/terminal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export function initTerminal() {
2525
}
2626

2727
export async function detectServer() {
28-
for (const base of ['', 'http://127.0.0.1:8420']) {
28+
for (const base of ['', 'http://localhost:8420']) {
2929
try {
3030
const controller = new AbortController();
3131
setTimeout(() => controller.abort(), 2000);

apps/asc-web/shared/infrastructure/data-provider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const DataProvider = {
1919
_onNotify: null, // callback: (message, type) => void
2020

2121
async init() {
22-
for (const base of ['', 'http://127.0.0.1:8420']) {
22+
for (const base of ['', 'http://localhost:8420']) {
2323
try {
2424
const controller = new AbortController();
2525
setTimeout(() => controller.abort(), 2000);

0 commit comments

Comments
 (0)