Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
sf
/
webrtcnodeserver
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
133a50c3
authored
Oct 17, 2023
by
fengfan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
4e6cdc41
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
app.js
+4
-2
No files found.
app.js
View file @
133a50c3
var
fs
=
require
(
'fs'
);
var
fs
=
require
(
'fs'
);
let
keypath
=
path
.
join
(
__dirname
,
"./keys/server.key"
)
let
certpath
=
path
.
join
(
__dirname
,
"./keys/server.crt"
)
var
options
=
{
var
options
=
{
key
:
fs
.
readFileSync
(
'./keys/server.key'
),
key
:
fs
.
readFileSync
(
keypath
),
cert
:
fs
.
readFileSync
(
'./keys/server.crt'
)
cert
:
fs
.
readFileSync
(
certpath
)
}
}
// options
// options
const
express
=
require
(
'express'
);
const
express
=
require
(
'express'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment