Showing
1 changed file
with
5 additions
and
0 deletions
| ... | @@ -4,9 +4,14 @@ const path = require('path'); | ... | @@ -4,9 +4,14 @@ const path = require('path'); |
| 4 | const HTTPS = require('https'); | 4 | const HTTPS = require('https'); |
| 5 | 5 | ||
| 6 | const app = express(); | 6 | const app = express(); |
| 7 | +// 본인이 소유한 도메인으로 변경해야 함 | ||
| 8 | +// www 붙여야 함 | ||
| 7 | const domain = "www.stagefive.tk" | 9 | const domain = "www.stagefive.tk" |
| 8 | const sslport = 23023; | 10 | const sslport = 23023; |
| 9 | 11 | ||
| 12 | +app.get('/', function (req, res) { | ||
| 13 | + res.send('Hello World'); | ||
| 14 | +}) | ||
| 10 | 15 | ||
| 11 | try { | 16 | try { |
| 12 | const option = { | 17 | const option = { | ... | ... |
-
Please register or login to post a comment