Toggle navigation
Toggle navigation
This project
Loading...
Sign in
은승우
/
LINEBOT
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
은승우
2019-11-29 20:27:44 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4c87fadc9aca08d99a0d6863627015f9cc071698
4c87fadc
1 parent
6c105b84
qfq
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
app.js
app.js
View file @
4c87fad
...
...
@@ -2,6 +2,19 @@ var express = require('express');
var
app
=
express
();
const
line
=
require
(
'@line/bot-sdk'
);
var
createServer
=
require
(
"auto-sni"
);
var
server
=
createServer
({
email
:
sweun1
@
naver
.
com
,
// Emailed when certificates expire.
agreeTos
:
true
,
// Required for letsencrypt.
debug
:
false
,
// Add console messages and uses staging LetsEncrypt server. (Disable in production)
domains
:
[
"osschatbot.bu.to"
],
// List of accepted domain names. (You can use nested arrays to register bundles with LE).
dir
:
"/etc/letsencrypt/live/osschatbot.bu.to"
,
// Directory for storing certificates. Defaults to "~/letsencrypt/etc" if not present.
ports
:
{
http
:
80
,
// Optionally override the default http port.
https
:
443
// // Optionally override the default https port.
}
});
//papago api
var
request
=
require
(
'request'
);
...
...
Please
register
or
login
to post a comment