mirror of https://github.com/keeweb/keeweb.git
keeweb plugin server
This commit is contained in:
parent
c60a441b01
commit
3e5b27e415
|
@ -137,8 +137,8 @@ function watchSignPlugin() {
|
||||||
|
|
||||||
function servePlugin(packageName) {
|
function servePlugin(packageName) {
|
||||||
const options = {
|
const options = {
|
||||||
key: fs.readFileSync(path.join(__dirname, 'self-signed/key.pem')),
|
key: fs.readFileSync(path.join(__dirname, 'self-signed-key.pem')),
|
||||||
cert: fs.readFileSync(path.join(__dirname, 'self-signed/cert.pem'))
|
cert: fs.readFileSync(path.join(__dirname, 'self-signed-cert.pem'))
|
||||||
};
|
};
|
||||||
const port = serverPort || 8089;
|
const port = serverPort || 8089;
|
||||||
https.createServer(options, (req, res) => {
|
https.createServer(options, (req, res) => {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "keeweb-plugin",
|
"name": "keeweb-plugin",
|
||||||
"version": "0.1.7",
|
"version": "0.1.8",
|
||||||
"description": "KeeWeb plugin utils",
|
"description": "KeeWeb plugin utils",
|
||||||
"main": "keeweb-plugin.js",
|
"main": "keeweb-plugin.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
Loading…
Reference in New Issue