-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
executable file
·23 lines (22 loc) · 801 Bytes
/
index.js
File metadata and controls
executable file
·23 lines (22 loc) · 801 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require("greenlock-express").create({
email: "enid@appworks.tw" // The email address of the ACME user / hosting provider
,
agreeTos: true // You must accept the ToS as the host which handles the certs
,
configDir: "./cert/" // Writable directory where certs will be saved
,
communityMember: false // Join the community to get notified of important updates
,
telemetry: false // Contribute telemetry data to the project
// Using your express app:
// simply export it as-is, then include it here
,
app: require("./app.js")
//, debug: true
}).listen(80, 443);
function clickChat() {
var chat = document.getElementsByClassName('chatwith')[0];
var chatroom = document.getElementsByClassName('chatroom')[0];
chat.style.display = "none";
}
chat.addEventListener("click", clickChat);