fix linter errors

pull/2955/head
Max Alekseenko 5 years ago
parent 5523508da2
commit 288a69a46e
  1. 4
      apps/block_scout_web/assets/js/socket.js

@ -1,8 +1,8 @@
import { Socket } from 'phoenix'
import { locale } from './locale'
let websocketRootUrl = process.env.SOCKET_ROOT;
if (!websocketRootUrl || websocketRootUrl == '/') {
let websocketRootUrl = process.env.SOCKET_ROOT
if (!websocketRootUrl || websocketRootUrl === '/') {
websocketRootUrl = ''
}

Loading…
Cancel
Save