changes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import "./LocationList.js"
|
||||
import "./Sidebar.js"
|
||||
import "./MainPanel.js"
|
||||
import "./components/LocationList.js"
|
||||
import "./components/Sidebar.js"
|
||||
import "./components/MainPanel.js"
|
||||
|
||||
class Home extends Shadow {
|
||||
render() {
|
||||
@@ -1,9 +1,9 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Blockcatcher</title>
|
||||
<title>Blockcatcher Admin</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="icon" href="/_/icons/logo.svg">
|
||||
<link rel="icon" href="/_/icons/runner.svg">
|
||||
<link rel="stylesheet" href="/_/code/styles.css">
|
||||
<script src="/_/code/quill.js"></script>
|
||||
<script type="module" src="/index.js"></script>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import ConnectionHandler from "./ws/Connection.js"
|
||||
window.ConnectionHandler = new ConnectionHandler()
|
||||
|
||||
import "./components/Home.js"
|
||||
import "./Home.js"
|
||||
Home()
|
||||
@@ -10,7 +10,7 @@ class Connection {
|
||||
|
||||
init() {
|
||||
if(window.location.hostname === "localhost") {
|
||||
this.ws = new WebSocket("ws://" + "localhost:3008")
|
||||
this.ws = new WebSocket("ws://" + "localhost:3009")
|
||||
} else {
|
||||
this.ws = new WebSocket("wss://" + window.location.hostname + window.location.pathname)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user