UNPKG
castelog
Version:
latest (0.0.1)
0.0.1
Programación JavaScript en castellano.
github.com/allnulled/castelog
allnulled/castelog
castelog
/
src
/
lib
/
518.castelog.v1.metodos.un_servidor_https.js
7 lines
•
281 B
JavaScript
View Raw
1
2
3
4
5
6
7
Castelog
.
metodos
.
un_servidor_https
=
function
(
controlador, opciones_seguras, opciones
) {
if
(
typeof
window
===
"object"
) {
return
; }
else
if
(
typeof
global
===
"object"
) {
return
require
(
"https"
).
createServer
(controlador, opciones_seguras, opciones); } };