Skip to content

Commit ef56477

Browse files
committed
Fixed ESLint error
1 parent 4d5bf1a commit ef56477

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/core/_interceptors/http-res.interceptor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export class HttpResInterceptor implements HttpInterceptor {
5252
} else if (error.status === 404 && !req.url.includes('config.json')) {
5353
errmsg = `The requested URL was not found.`;
5454
} else if (error.status === 0) {
55-
const frontendBaseURL = window.location.href.split("/").slice(0, 3).join("/");
55+
const frontendBaseURL = window.location.href.split('/').slice(0, 3).join('/');
5656
errmsg = `Network error. Please verify the IP address (${this.extractIpAndPort(
5757
req.url
5858
)}) and try again. Also the following options must be set in the .env file: HASHTOPOLIS_APIV2_ENABLE=1 and HASHTOPOLIS_FRONTEND_URLS must include the used Hashtopolis frontend: ${frontendBaseURL} `;

0 commit comments

Comments
 (0)